I'm used to running queries on Transact-SQL. I'm sure there's something wrong with the Where clause in the following statement:
I'm using this with PHP but I still get the error even when I'm running this in phpMyAdmin.
Here's my error:
#1064 - 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 'show = 'Y'
Thanks.
Code:
select e_search from tbl_memory where show = 'Y'
I'm using this with PHP but I still get the error even when I'm running this in phpMyAdmin.
Here's my error:
#1064 - 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 'show = 'Y'
Thanks.