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();
}Moderator: General Moderators
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();
}