PHP ver gevorderde |
|
Neem aan dat dat over regel 39 gaat? (Ik nam aan dat $forumid en $_SESSION['user_id'] integers waren)
$time = NOW();
$query = "INSERT INTO forumreplys SET forumid = ".$forumid.", naam = ".$_SESSION['user_id'].", datum = ".$time.", bericht = '".$bericht."', cat = '".$cat."'";
$time = NOW(); $query = "INSERT INTO forumreplys SET forumid = ".$forumid.", naam = ".$_SESSION['user_id'].", datum = ".$time.", bericht = '".$bericht."', cat = '".$cat."'";
Probeer dat is |