in reply to last_insert_id did not work
how do I make that work?$sth = $dbh->prepare(qq{INSERT INTO `coacttran` SET $_pstmt"}); $sth->execute(@_placeholders); $sth->fetchrow_hashref(); $sth->finish(); $_chinsert = $sth->{mysql_insertid};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: last_insert_id did not work
by haukex (Archbishop) on Mar 27, 2021 at 08:42 UTC | |
|
Re^2: last_insert_id did not work
by mr_ron (Deacon) on Mar 27, 2021 at 12:37 UTC |