Archive

Posts Tagged ‘mysql’

Quick mysql_insert_id() Tip

February 9th, 2010 Adrian No comments

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.

Categories: Development Tags: ,