ok, so whenever i make something that writes data from a form to a file it works but if i was to write,
"Ok it's working"
i would come out
"Ok it/'s working"
how do i stop this and whys it happening?
You'll get this problem with other special chars too, not just quotes. Use the PHP function stripslashes() to convert escaped characters back to normal.
$newstring = stripslashes($oldstring);
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';
Please login or register to view this content. Registration is FREE (aka MSN handwriting for forums)