|
#1
|
|||
|
|||
ajshoutbox forum
Code:
///////////////////////////////////////////////////////// Action: POST if ($action == "post") { $forumid = $_POST["forumid"]; $topicid = $_POST["topicid"]; if (!is_valid_id($forumid) && !is_valid_id($topicid)) die("w00t"); $newtopic = $forumid > 0; $subject = $_POST["subject"]; mysql_query("INSERT INTO ajshoutbox (uid, date, name, text) VALUES(0,NOW(),'Auto Message Forum', 'Un nouveau message dans le forum par " .$CURUSER['username']. " ...Voir " .$subjectp. "Le Message')") or sqlerr(__FILE__,__LINE__); if ($newtopic) { if (!$subject) showerror("Erreur", "Vous devez entrer un sujet."); $subject = trim($subject); //if (!$subject) //showerror("Erreur", "Vous devez entrer un sujet."); //showerror("Erreur", "Sous réserve est limitée à $maxsubjectlength caractères."); }else{ $forumid = get_topic_forum($topicid) or die("Bad topic ID"); } is showing that error http://www.error.com/forums.php?action=vie...ic&topicid= But I have a disorder related to the ID of the post that does not happen, it gives me not the id of the post for the announcement on ajshoutbox |
#2
|
||||
|
||||
not quite sure what you mean, could you post a screen shot or a live link?
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
|
#3
|
|||
|
|||
error
error
|
Tags |
ajshoutbox , forum |
|
|