title: HTML form in PHP while loop
body: <p>How can I put an html form into a PHP while loop?</p>
  
  <p>It thought something like this, but it doesn't work:</p>
  
  <pre><code>&lt;?php
  
  $i=1;
  while ($i&lt;=5){
  
  &lt;form name="X" action="thispage.php" method="POST"&gt;
       &lt;input type="text"&gt;
       &lt;input type="submit"&gt;
  &lt;/form&gt;;
  
  $i=$i+1;
  
                }
  
  ?&gt;
  </code></pre>