Snippets tagged “mysqli-insert-id”
1 snippet uses this tag.
- PHP/MySQL insert row then get 'id'PHP
To insert a row into a MySQL database table and get the id of the inserted row in PHP, you can use the mysqli_insert_id() function.
1 snippet uses this tag.
To insert a row into a MySQL database table and get the id of the inserted row in PHP, you can use the mysqli_insert_id() function.