How to access the row which has just been inserted into a DB with PHP/MySQL?
I have:
$sql = \'INSERT INTO `jos_db`.`jos_sections` (`id`, `name`)
Using the PHP function mysql_insert_id() will return the id of the last row you inserted.
mysql_insert_id()