Thread INSERT Statement per mysql_query: auto_increment ID
(7 answers)
Opened by vayu at 2005-08-12 17:34
//Edit: Sorry habe mich vertan, ist ja PHP.
Aus der PHP-Doku: Usage: int mysql_insert_id ( [resource link_identifier ] ) Purpose: Get the ID generated from the previous INSERT operation Availability: PHP 3, PHP 4 mysql_insert_id() returns the ID generated for an AUTO_INCREMENT column by the previous INSERT query using the given link_identifier\n\n <!--EDIT|GwenDragon|1123857627--> |