And the line with do on it tomy $dbh = DBI->connect($db, $username, $pass);
You'll also probably want to check the return of both of those statements in case they fail.$dbh->do($sql);
_________
broquaint
In reply to Re: Can't call method "do" - DBI Troubles
by broquaint
in thread Can't call method "do" - DBI Troubles
by vbrtrmn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |