mysql_insert_id()

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:mysql_affected_rows()

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:

  1. mysql_affected_rows()

This post has had 61 views