PHP: mysql_insert_id - Manual - PHP: Hypertext Preprocessor
Caution mysql_insert_id() will convert the return type of the native MySQL C API function mysql_insert_id() to a type of long (named int in PHP). If your AUTO_INCREMENT column has a column type of BIGINT (64 bits) the conversion may result in an ...
php.net |