Jesús Lasso Sánchez wrote:
> 
> Hi,
> 
>    I probed:
> 
>           s/'/''/g
> 
>    yesterday but it did'nt work, will try with HTML code. I think is the
> solution.
> 
> Thanks
> 
> > the easiest way is
> > s/'/''/g
> > or
> > s/'/'/g
> >


the way i do it is

my $q=new CGI;
$var=$q->param('var');

$var=s/'/''/g;


btw: this code is off the top of my head

Reply via email to