This is a curiosity of mine, so my question may not even make sense to some. However, I must ask so I know for sure.
This is the definition of mysql_insert_id:
mysql_insert_id — Get the ID generated from the previous INSERT operation
This makes sense, and is pretty handy to use. But I was thinking, what happens if 2 separate customers submit data to the DB at the same exact time, or if execution timing is off for one customer?
Does mysql_insert_id() only get the ID generated from the INSERT operation from that browser?
I suppose I'm trying to understand if there is a con to using this function.
Any thoughts?