Business Hours 9-5 PT
Contact siradrian@gmail.com

Quick mysql_insert_id() Tip

If you are working with multiple connections, you must specify the connection to mysql_insert_id(). Unlike other functions, it does not attempt to use the last opened connection, but instead fails returning false. Hopefully this helps someone else is as confused as I was last night.

Leave a Reply