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`)
Use mysql_insert_id() function to select last row inserted in database.
SELECT rows from table where id = last_inserted_id