I've inherited a small php contents management systems, basically, it all
works fine, except, when you're editing text that contains characters such
as as an apostrophy in "at's.", it's written to the database as "at\'s.",
and, displays incorrectly.
if I bring it up for an re-edit, it now shows as:"at\\\'s."

I can ofcourse bypass the problem by using an ASCII code 145 for
apostrophy in the text field, that then updates the database correctly;

but, it there an easy way to correct the PHP code to get rid of this
problem ?



-- 
Voytek
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to