look at these codes
//add.php
<?php
//$context is submitted from a prepared form
$alolow_tag="<center>";
$context=strip_tags($context,$allow);
$context=nl2br($context);
$filename="txt.txt";
$myfile=fopen($filename,"a");
fputs($myfile,$context);
fclose($myfile)
?>
//show.php
<?
require "txt.txt"?>
//problems::
when I write in the corresponding form:
he said, "Ok"
but then in the
show.php
it displays: he said ,\"Ok\"
how can I aviod this \ just show :he said,"Ok"?
thanks!