On Sat, 20 Sep 2003 21:34:58 +0000, Pablo Fischer wrote: > I need to save some HTML text in a DataBase (MySql, using DBI). However > some HTML text will have single and double quotes, so.. how can I save > them?, for example: > <align="center">It's so funny</align> $html_text =~ s/'/''/g; $html_text =~ s/"/""/g;
Use the help of regular expressions to double the number of each quote and mysql won't have any problems. thanks /oliver/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]