MySQL Forums
Forum List  »  Perl

Re: insert works but last_insert_id() returns 0 the first time; works correctly thereafter
Posted by: Anghel Cojan
Date: March 15, 2008 09:13PM

Hi K Jaco.
It's strange but I'm having the same problem with PHP. And I couldn't find a solution.I suspect that the problem is with the tables and their foreign keys.But I'm still looking for a real answer.

Options: ReplyQuote


Subject
Written By
Posted
Re: insert works but last_insert_id() returns 0 the first time; works correctly thereafter
March 15, 2008 09: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.