Home > Development > Quick mysql_insert_id() Tip

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.

Categories: Development Tags: ,
  1. No comments yet.
  1. No trackbacks yet.