MySQL Forums
Forum List  »  PHP

Re: REQ: Help SQL Code
Posted by: Peter Brawley
Date: July 21, 2008 04:35PM

As your error message tells you, when PHP assembled your update query string...

UPDATE members SET highest_rank=3 WHERE id= LIMIT 1

it found that $insert_id contained a blank. If I were you, I would add calls to mysql_error) after the INSERT and mysql_insert_idf() calls, to see what went wrong.


Options: ReplyQuote

Written By
July 21, 2008 03:26PM
Re: REQ: Help SQL Code
July 21, 2008 04:35PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.