When you’ve just added an entry to the database with ‘INSERT’, and you need to get the ID of that row for the next step….
$lastId = mysql_insert_id();
Related posts:

When you’ve just added an entry to the database with ‘INSERT’, and you need to get the ID of that row for the next step….
$lastId = mysql_insert_id();
Related posts:
This post has had 61 views