How can we use loop to take multiple input in php? What is wrong with this program? : <pre><code>&lt;html&gt;
&lt;head&gt;&lt;/head&gt;
&lt;body&gt;
&lt;form method="post"&gt;
&lt;input type="number" name="x" value="0"/&gt;
&lt;input type="number" name="y"/&gt;
&lt;input type="number" name="z"/&gt;
&lt;input type="submit" value="Submit"/&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;?php
$x=$POST_['x'];
$y=$POST_['y'];
$z=$POST_['z'];
echo $x;
echo $y;
echo $z;
?&gt;
</code></pre>

<p>Can anyone tell me how to do this?
I'm trying to take input from user and print it. I have done this manually but this is also not running.</p>
