MySQL Forums
Forum List  »  PHP

Re: Inserting records with mysqli_insert_id
Posted by: Peter Brawley
Date: March 15, 2013 08:15AM

The devil's in the details, which we can't see.

Always check the returned result of a mysqli_query() call. And remember that an Insert or Update returns True or False rather than an object.

Options: ReplyQuote


Subject
Written By
Posted
Re: Inserting records with mysqli_insert_id
March 15, 2013 08:15AM


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.