html form-php question
<p>This is my html form and below this i included my php text. </p>

<p>But I am not getting correct output,i don't no where the problem is ? </p>

<p>I also included the output ,please suggest me what shuld i do?</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;
Entering data into text
&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;
Entering data into text
&lt;/h1&gt;
&lt;form  action="text.php" method="post"&gt;
What is ur name ?

&lt;input  type="text" name="data" /&gt;


&lt;input type="submit" value="send" /&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>This is my php text:</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;
Reading data from textfields
&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;
reading data from text field
&lt;/h1&gt;
Thanks for answering,
&lt;?php echo $_POST["data"];?&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Output:</p>

<pre><code>reading data from text field
Thanks for answering, 
</code></pre>

<p>problem is that ,data send is not included after response of sever
please help me as fast as possible</p>
