MySQL Forums
Forum List  »  PHP

Re: mysql_insert_id(); returnig 0 Record is added and the field is auto_increment?!!
Posted by: Peter Brawley
Date: February 16, 2014 02:13PM

> $result = mysqli_query($sql,$con);

More carelessness. Check the PHP manual for mysqli_query() syntax.

Options: ReplyQuote


Subject
Written By
Posted
Re: mysql_insert_id(); returnig 0 Record is added and the field is auto_increment?!!
February 16, 2014 02:13PM


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.