Code:
if ($submit=="true") {
if (!title) {
show_nopermission();
}
if (!code) {
show_nopermission();
}
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,pagetext,ipaddress,site,siteid) VALUES (NULL,'$gid','".addslashes(htmlspecialchars($title))."','".addslashes($bbuserinfo[username])."','$bbuserinfo[userid]','".time()."','".addslashes($code)."','$ipaddress','2','$siteid')");
header ("Location: content.php?action=code&do=display&gid=$gid");
exit;
}
It stops before it even hits the redirect. No errors, nothing. Just a blank page. What is wrong with it?