HELP ME on this code?

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?

where WHAT? is LIKE ‘$str’ ??!
same in english,
"give me that looks like $str’ "
makes no sense…