How to send text area content to next page via post method?
<p>I got a textarea that has some html code in it. I want to send the content of this textarea without any change to next page via post method. </p>

<pre><code>&lt;html&gt;
&lt;form id="myform" name="myform" action="./getdata.php" method="post"&gt;

&lt;td&gt;&lt;textarea rows="7" cols="15" name="outputtext" style="width: 99%;"&gt;&lt;/textarea&gt;&lt;/td&gt;

&lt;input type="submit"&gt;

&lt;/form&gt;
&lt;/html&gt;
</code></pre>

<p>and my php code :</p>

<pre><code>&lt;?
$file_contents = $_POST['outputtext'];
?&gt;
&lt;textarea rows="30" cols="150"&gt;&lt;?PHP  print_r($file_contents); ?&gt;&lt;/textarea&gt;
</code></pre>

<p>The problem with my code is that the orginal content of my first textarea gets changed when it sends to next page! For example:</p>

<pre><code>&lt;a href="/season/episodes.php?name=ok&amp;id=1"&gt;
</code></pre>

<p>becomes:</p>

<pre><code>&lt;a href=\"/season/episodes.php?name=ok&amp;id=1\"&gt;
</code></pre>

<p>could you guys how i can preserve the original html content without it changes in next page ?(Note all my html content changes in second pages which i dont want to change).My second textarea in second page is for testing purpose and i actually want to parse orginal value of $file_contents but for some reason it changes!</p>
