http://qs1969.pair.com?node_id=11130464


in reply to Re: last_insert_id did not work
in thread last_insert_id did not work

I am trying this right now: $sth->{mysql_insertid};
then later message:
I just realized, I used a code for reading a database table... lol. $sth->fetchrow_hashref();
From DBI docs ... last_insert_id of DBI
* For some drivers the value may only available immediately after the insert statement has executed (e.g., mysql, Informix).

Ron