SPrelewicz
Programmer
I pull some HTML from a mySQL DB to put into a text field. The problem is if there is a single quote it thinks its the end of the value attribute for the text field.
So, in my script I want to somehow replace the ' with the ASCII character, but that is goofy too with its perl-ism.
Heres what I have, not working
$data_in=~ s/'/\'\;/;
Thanks in advance for help.
Scott
So, in my script I want to somehow replace the ' with the ASCII character, but that is goofy too with its perl-ism.
Heres what I have, not working
$data_in=~ s/'/\'\;/;
Thanks in advance for help.
Scott