Thanks, I'm running PHP 5 but have the same settings. I know it's some stupid magic_quotes issue (I despise these settings). I'll probably just add a stripslashes into the display if \' is encountered in a string, but would rather get to the root cause.