look the definition of function as the manual:
int mysql_insert_id ([int link_identifier])
mysql_insert_id() returns the ID generated for an AUTO_INCREMENT column by the previous INSERT query using the given link_identifier. If link_identifier isn't specified, the last opened link is assumed.
I want to know how does link_indentifier works. How to set it. Give an example???
thanks
int mysql_insert_id ([int link_identifier])
mysql_insert_id() returns the ID generated for an AUTO_INCREMENT column by the previous INSERT query using the given link_identifier. If link_identifier isn't specified, the last opened link is assumed.
I want to know how does link_indentifier works. How to set it. Give an example???
thanks