Dynamically generating input field
<pre><code>&lt;? $fileUpload=3 ; for($i=0;i&lt;$fileUpload;$i++) { ?&gt;
    &lt;input type="file" name="upload_file" value="" id=" " /&gt;
&lt;? } ?&gt;
</code></pre>

<p>I want to actually generate three file upload field based on the loop, but this code is not working. </p>

<p><strong>Actual requirement</strong></p>

<p>On the click of the browse button, if the file is selected... the next field of form should appear... automatically and so on.</p>
