my $sth = $dbh->prepare($sql) $sth->{mysql_insertid}; [download]
In reply to Re^2: MySQL: INSERT and return? by initself in thread MySQL: INSERT and return? by Spidy