We don't bite newbies here... much | |
PerlMonks |
Writing to DB with quotesby cdherold (Monk) |
on Jun 28, 2006 at 23:50 UTC ( [id://558187]=perlquestion: print w/replies, xml ) | Need Help?? |
cdherold has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks, I'm trying to do what I thought was some pretty simple stuff, but I got thwarted by my lack of knowledge! I'm trying to write a variable into a database. But this variable has single quotes and it won't go. Is there some sort of "quote" hierarchy that I don't know about ... for instance, could I use [] as quotes, () don't seem to work. My current code is below. It works for putting strings into the database like 123, but not for stuff with quotes. Any tips?
Chris Herold
Back to
Seekers of Perl Wisdom
|
|