perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drf...@smartt.com
Subject Re: error DBI with quote
Date Wed, 05 Jul 2000 19:54:13 GMT
Jesús Lasso Sánchez wrote:
> 
>    Part 1.1    Type: Plain Text (text/plain)
>            Encoding: quoted-printable

yes ! because ' is a start or end of sql statement you 
have to escape it
either convert to html equiv 
' i think
or convert ' to '' in postgresql i dont know what it is in mysql

the easiest way is
s/'/''/g
or 
s/'/'/g

Mime
View raw message