As the subject say, when putting " or ' in text field, \' or \" is returned. I'm not sure why, but it only happerns when it is returned in a input -> text field box. Could you tell me how to fix this. Thank you.
Code Snip: $nl = ""; $ascii = "$ascii"; $text_form = ereg_replace (" ", " ", $ascii); $preview = ereg_replace (" ", " ", $ascii); $nlbr = nl2br($text_form); $nlbr2 = nl2br($preview); include('includes\replace.php'); printf("<INPUT type=\"text\" name=\"msn\" value=\"$nl$newline\"><br>\n\n"); $printout = "<FONT color=\"#000000\" face=\"MS Sans Serif\">$nlbr2</FONT>\n\n";