Question : What is wrong with my sql query to find a LIKE match?

$email = [email protected]
$info = mysql_query("SELECT * FROM requests WHERE from LIKE '%"$email"%");

The error I"m getting is:
Parse error: parse error in C:\Program Files\wamp\www\Scripts\user_requests.php on line 26

Answer : What is wrong with my sql query to find a LIKE match?

Does your from column need brackets to differentiate if from the FROM keyword?
Random Solutions  
 
programming4us programming4us