what my code’s problem? i cann’t find my problem
$str= $HTTP_POST_VARS[‘SrchWord’];
$query= "select * from acect where LIKE ‘$str’ ";
it represents following error
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 ‘LIKE ‘qqq’’ at line 1
HELP ME?