我的查询:
$result = mysql_query("SELECT * FROM members WHERE email=$email")
or die(mysql_error());
在这种情况下,$email 填充了“info@frankkluytmans.nl”。执行此查询时出现的错误是:
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 '@frankkluytmans.nl' at line 1
我究竟做错了什么?