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
''my_table' WHERE ('field_1' LIKE '%%' OR 'field2'

Because you are using a single quotes around your table/field names. Remove them or use ` (back tick). As suggested earlier.

NOW IT WORKS!! I thought I had tried back ticks and nothing - I did try it, must have made a typo. But all is well now. THANKS VERY MUCH!!!!


- B1ff Lamer

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to