[SOLVED] - Spot the SQL Syntax Error
Posted: Wed Aug 22, 2007 12:21 pm
Hey Guys, I have the following, and can't for the life of me, find the SQL syntax error, can anyone see it...
Thanks.
Code: Select all
$sql = mysql_query("INSERT INTO news_events (id, title, posted, description, is_event, when, where) VALUES ('', '$title', '$posted', '$description', '$is_event', '$when', '$where')");
if (!$sql){
echo mysql_error();
}