I'm having intermittent problems with this function. Most of the time, it returns the proper value. However, sometimes it doesn't return anything at all even when the insert query executes without error and I can see the new data in the database. I try to get the last insert id both by supplying the link-resource and not but still get the same results. When I echo out the link-resource (what mysql() returns), all I'm gettins is a numerical one (1). What gives? Chris
- RE: [PHP] mysql_insert_id() Boget, Chris
- RE: [PHP] mysql_insert_id() Sam Masiello
- RE: [PHP] mysql_insert_id() Boget, Chris
- RE: [PHP] mysql_insert_id() Sam Masiello
- RE: [PHP] mysql_insert_id() Boget, Chris
- RE: [PHP] mysql_insert_id() Sam Masiello
- RE: [PHP] mysql_insert_id() Boget, Chris
- [PHP] mysql_insert_id() John Meyer
- Re: [PHP] mysql_insert_id() Chris Lambert - WhiteCrown Networks
- Re: [PHP] mysql_insert_id... Don Read
- [PHP] Strange problem with fp... SED