Just another Perl shrine | |
PerlMonks |
Re: unpacking - html re-encoding?by iakobski (Pilgrim) |
on Jul 18, 2001 at 11:15 UTC ( [id://97567]=note: print w/replies, xml ) | Need Help?? |
Can you confirm how you are the DBI module to do the insert
into the database?
If you are there are two ways in which these sorts of things are handled. If you are binding parameters to statements, using bind_param() then the quoting is handled automatically. If you are using a variable in the SQL statement, then there is the handy quote() function:
If you're not using DBI or DBIx, then you should check them out. -- iakobski
In Section
Seekers of Perl Wisdom
|
|