All what you need is to use prepared statements
my $query = $dbh->prepare("select users from mytable where number = ? +and serie = ?"); $query->execute(100,450); while ( my $row = $query->fetchrow_hashref ) { print $row->{'users'}; }
I don't remember seeing an exec_select method in the DBI class (I might be wrong).
In reply to Re: Placeholder Help!
by ahmad
in thread Placeholder Help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |