SQL query problem with $email variable
Posted: Tue Jul 02, 2002 6:02 am
$result = mysql_query("INSERT INTO contestlist SET Email=" . $Email);
Error performing query: You have an error in your SQL syntax near '@hotmail.com' at line 1
This is by the way a shortened version, i did that so i could change things to see if they worked and well this is as close as i ever got.
Well obviusly SQL queries do not like the '@' symbol.
I hear admitting the problems we have is half the battle
Error performing query: You have an error in your SQL syntax near '@hotmail.com' at line 1
This is by the way a shortened version, i did that so i could change things to see if they worked and well this is as close as i ever got.
Well obviusly SQL queries do not like the '@' symbol.
I hear admitting the problems we have is half the battle