|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: dbi insertby ralphie (Friar) |
| on Oct 15, 2001 at 17:51 UTC ( [id://118950]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||