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).
In reply to Re^2: last_insert_id did not work
by mr_ron
in thread last_insert_id did not work
by bizactuator
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |