Results 1 to 5 of 5

Thread: MySQL Being Gay!

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2001
    Location
    England
    Posts
    312

    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!
    Power to 2000 Electronic Donkeys!
    www.edonkey2000.com
    I hate case sensitivity... all you get down the M1 is "are we there yet" and "ouch, watch the bumps".

  2. #2
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    it would probably help us if we new what the error was.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2001
    Location
    England
    Posts
    312
    sorry! it dies, and says "im a big gay gay gay gay fool".
    Power to 2000 Electronic Donkeys!
    www.edonkey2000.com
    I hate case sensitivity... all you get down the M1 is "are we there yet" and "ouch, watch the bumps".

  4. #4
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    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());

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    May 2001
    Location
    England
    Posts
    312
    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
    Power to 2000 Electronic Donkeys!
    www.edonkey2000.com
    I hate case sensitivity... all you get down the M1 is "are we there yet" and "ouch, watch the bumps".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width