-
MySQL Being Gay!
Code:
$query_addthread = "INSERT INTO forum_threads (boardparentid,threadname,author,lastpostername,email,lastposterid,smilie) VALUES ('$boardid','$SUBJECT','$forum_username','$forum_username','$email','$poster','$SMILIEs')";
mysql_query($query_addthread,$link) or die ("im a big gay gay gay gay fool");
this dies every time, and its just getting ridiculous. I have done everything short of rewriting the whole code which im not prepared to do unless absolutele necessary!
anyone have any ideas. All I did when it went wrong is add an extra column (the smilies on). Its really starting to piss me off now! its making the entire script go wrong!
-
it would probably help us if we new what the error was.
-
sorry! it dies, and says "im a big gay gay gay gay fool". :)
-
well instead of that error try this
$query_addthread = "INSERT INTO forum_threads (boardparentid,threadname,author,lastpostername,email,lastposterid,smilie) VALUES ('$boardid','$SUBJECT','$forum_username','$forum_username','$email','$poster','$SMILIEs')";
mysql_query($query_addthread,$link) or die (mysql_error());
-
cool, i was wondering if that was possible!
and it works now, i deleted a column in the DB and i forgot to take it out :)