Hiya. Need your help.
Have installed a guestbook-script (PHP) using a textarea-field within a HTML-File.
The field is given to the PHP-programm and is written into another HTML-File.
But I don't know why, the entries are getting reformated so \ and " are going
to \ and \".
My question: How is the easiest way to substitute the \" to (f.e.) a single ' ?
Is it possible to use the ereg-replace-function ? If so, how's the syntax ?
Because I've tried $comments = ereg_replace("\"","'",$comments); and also
$comments = ereg_replace("\\"","'",$comments); without success :-(
Please help me. Thanks a lot :-)
Regards: Lars