Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Using ?WHERE= in URL database call

I have posted the script within the project, under Javascripts. To see if I can call the service, and return the results to the website. But it seems I cannot do this ? But the code I use on the site is the same as whats get_source_Questions

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Using ?WHERE= in URL database call

I really needs some assistance with this.

The code can be found within the app under javascripts- get_source_Questions.

It does give me the rows where sid = 6

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Using ?WHERE= in URL database call

Hi.

Use the following code:prewhere: '{"sid":6}'/preSo if you have a variable 'sid' you can add it here:prewhere: '{"sid":'+sid+'}'/pre

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Using ?WHERE= in URL database call

perfect, thank you :)

Return to “Issues”