|
cubrid_insert_idReturn the ID generated for the last updated Beschreibung
string cubrid_insert_id
([ resource
$conn_identifier
] )The cubrid_insert_id function retrieves the ID generated for the AUTO_INCREMENT column which is updated by the previous INSERT query. It returns 0 if the previous query does not generate new rows, or FALSE on failure.
Parameter-Liste
RückgabewerteA string representing the ID generated for an AUTO_INCREMENT column by the previous query, on success. 0, if the previous query does not generate new rows.
Changelog
BeispieleBeispiel #1 cubrid_insert_id example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: string(2) "19" |