Is there any way to Get data by PHP code insted of HTML from
<p>I'm newbie in PHP.I want to know that,I taking data by html form and a .php file.
like:</p>

<pre><code>&lt;form id="form1" name="form1" method="post" action="show.php"&gt;
&lt;strong&gt;Please Enter the Unique id&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;
Unique id:
&lt;!-- name of this text field is "tel" --&gt;
&lt;input name="id" type="text" id="id" /&gt;
&lt;p&gt;
&lt;input type="submit" name="Submit" value="Submit" /&gt;
&lt;/p&gt;
&lt;/form&gt;
&lt;/html&gt;
</code></pre>

<hr>

<p>Then,I used show.php file to get the 'id'.like:</p>

<pre><code>$id=$_POST['id'];
</code></pre>

<hr>

<p>Is there any way to take input by php code???
Update:</p>

<p>In "C" we take ant input by this way </p>

<pre><code>scanf("%d",a);
</code></pre>

<p>is there any way to do so in PHP.I think now all you may be clear what I'm trying to say??</p>

<p>Thanks
Yasir Adnan.</p>
