last_insert_id | Back | Forward | Home |
'Language Reference' User Functions Database Functions Data Manipulation Functions Table Functions Error Handling Functions |
This function will retrieve the last ID generated by a primary key in a $table. If $column is specified, then txtSQL will return the last ID generated by that column instead of the primary key; if this $column is not auto_increment, then txtSQL will issue an error.
|