string cubrid_insert_id    ([ resource $conn_identifier  ] )

cubrid_insert_idReturn the ID generated for the last updated AUTO_INCREMENT column

conn_identifier

The connection identifier previously obtained by a call to cubrid_connect().