Don't ask to ask, just ask | |
PerlMonks |
Re: dbi insertby ralphie (Friar) |
on Oct 15, 2001 at 21:51 UTC ( [id://118950]=note: print w/replies, xml ) | Need Help?? |
mysql has a quirky syntax for the insert statement. while the previous posts are correct to point out that you should use placeholders, i think you'll have better luck with this syntax
$dbs=$dbh->prepare("insert into people set (fornavn=?,efernavn=?...)"); and then
In Section
Seekers of Perl Wisdom
|
|