I am so dumb. OMG. I just realized, I used a code for reading a database table... lol.
$sth->fetchrow_hashref();
DUH, my bad.
I cannot believe I messed up that so bad. errrgh.
How do I use a statement like that to do it that way?
$sth = $dbh->prepare(qq{INSERT INTO `coacttran` SET $_pstmt"});
$sth->execute(@_placeholders);
$sth->fetchrow_hashref();
$sth->finish();
$_chinsert = $sth->{mysql_insertid};
how do I make that work?
My bad. I'm totally exhausted, been working for 20 hours today. errgh. Should have slept first. lol.
Sorry.