Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Mysql syntax errorby batkins (Chaplain) |
on Nov 10, 2003 at 18:18 UTC ( [id://305927]=note: print w/replies, xml ) | Need Help?? |
Since "drain cleaner" is two words, it should be quoted. An easy way to solve this and similar problems is to use placeholders. Something like:
should do the trick. The question marks are replaced by the values passed to execute. For more information, see DBI.
Are you sure it was a book? Are you sure it wasn't.....nothing?
In Section
Seekers of Perl Wisdom
|
|