$dbh = $dbh->prepare(...)
That will place a statement handle (return value from $dbh->prepare) in a variable that you think contains a database handle. Another $dbh->prepare call goes BOOM.
So don't do that, use separate variables for separate things. There are working examples in the DBI docs.
In reply to Re: DBI Question
by moritz
in thread DBI Question
by boodong
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |