mysql_insert_id
(PHP 3, PHP 4 )mysql_insert_id -- Get the ID generated from the previous INSERT operation
Description
int mysql_insert_id ( [resource link_identifier])
(PHP 3, PHP 4 )mysql_insert_id -- Get the ID generated from the previous INSERT operation
Description
int mysql_insert_id ( [resource link_identifier])
这种方法不错!
如果是操作其他数据库呢?比如POSTGRE