in reply to Coding Errror
Now you don't have to worry about quoting the values. Much more portable among different database vendors.my $rv = $dbh->prepare(" insert into table foo values (?,?,?,?,?,?,?,?,?,?) "); $rv->execute( 'NULL','ME','testing',$from,$url, $name,3,$category,$subject,$body, );
jeffa
L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
F--F--F--F--F--F--F--F--
(the triplet paradiddle)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) Re: Coding Errror
by Fastolfe (Vicar) on Dec 01, 2001 at 03:24 UTC |