---
F R E N D Z  of martian
---
>     $text =~s/\'/\\\'/gm;

I would normally have it $text =~ s/\'/\\'/g; (dunno quite what m does in
yours - the camel book says 'treat as multiple lines' but not sure what that
means! g normally works for me)

Looks like you're storing the literal string \' into the database, whereas
with mine it stays as ' once it has got through the SQL parser.

Am I missing something...?

martian
(usual apols to non-techies)


--
Sent to you via the frendz list at marsbard.com

The archive is at http://www.mail-archive.com/[email protected]/

Reply via email to