Thread: query wildcards
View Single Post
Old 03-08-2008, 02:47 PM   #3 (permalink)
falsepride
Regular Contributor
 
Join Date: Oct 2004
Posts: 203
falsepride is on a distinguished road
using $_GET directly in my query won't be a problem in this case. this page is only going to be accessed from a javascript xmlhttprequest. the javascript will limit what column names get put into the queries.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''%tri%'' at line 1

is the error i got from the query
falsepride is offline   Reply With Quote