Query filter ...but how?..

6 views
Skip to first unread message

Radu Mihai

unread,
Sep 16, 2014, 1:06:58 AM9/16/14
to code-for-sa...@googlegroups.com
Hi,

Here is my link:
http://panoramic-tur.com/model2/lucru.html
 


My pb is about filter and display resultates.

If I use: 
var queryText = encodeURIComponent("SELECT 'denumire', 'locatia', 'cluburi', 'baruri', 'puburi' FROM "+FT_TableID)
don't filter- it is show all the lines from tables.

If I use:
var queryText = encodeURIComponent("SELECT 'denumire', 'locatia', 'cluburi', 'baruri', 'puburi' FROM "+FT_TableID, where +=myfilter), the row are gone ...

myfilter is 'cluburi'='X', or myfilter is'baruri'='X', that mean the filter condition is read...

So, please, if anybody have an idea about how solve the filter, will be more than WELCOME!

Tks,

Reply all
Reply to author
Forward
0 new messages