[Israel.pm] Database Insertion

Georges EL OJAIMI g-ojaimi at cyberia.net.lb
Fri Jun 17 06:41:54 PDT 2005


I am trying to insert random text into a MySQL field. I am having problem in (data = '$datafile') if the original data contain single quote ('). How can I automatically add a trailing slash if found before each single quote in the data?

More information about the Perl mailing list