in reply to How do I find the value MYSQL assigned to an AUTO_INCREMENT ID (int) Field?

From the DBD::mysql man page:
$insertId = $dbh->{'mysql_insertid'}
  • Comment on Re: How do I find the value MYSQL assigned to an AUTO_INCREMENT ID (int) Field?
  • Download Code