go ahead... be a heretic | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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
In reply to Re^2: last_insert_id did not work
by mr_ron
|
|