PHP form is reloading without processing
<p>I have created a form to get input from the users and I want to insert this into a DB. </p>

<p>The form is working when post field count is less than (for example) 150, but if the post field count is more than 150 the form is reloading without processing.</p>

<p>Note: It works well on local server but not on the production server.</p>

<p><strong>Code for showing input fields</strong>:</p>

<pre><code> &lt;tr&gt;
      &lt;td&gt;&lt;?=$tempcount?&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input name="eno&lt;?=$tempcount?&gt;" id="eno&lt;?=$tempcount?&gt;" size="9" maxlength="9" value="&lt;?=trim($rowstate['enrollno'])?&gt;"/&gt;&lt;/td&gt;

      &lt;td&gt;&lt;input name="name&lt;?=$tempcount?&gt;" id="name&lt;?=$tempcount?&gt;" value="&lt;?=trim($rowstate['sname'])?&gt;"/&gt;&lt;/td&gt;

      &lt;td&gt;&lt;input name="amark&lt;?=$tempcount?&gt;&lt;?=$templimit?&gt;" id="amark&lt;?=$tempcount?&gt;&lt;?=$templimit?&gt;" type="text" size="4" maxlength="2"/&gt;&lt;/td&gt;
      &lt;? $templimit = $templimit + 1; 

      ?&gt;
      &lt;td&gt;&lt;input name="amark&lt;?=$tempcount?&gt;&lt;?=$templimit?&gt;" id="amark&lt;?=$tempcount?&gt;&lt;?=$templimit?&gt;" type="text" size="4" maxlength="2"/&gt;&lt;/td&gt;
      &lt;? $templimit = $templimit + 1; 

      ?&gt;
      &lt;td&gt;&lt;input name="amark&lt;?=$tempcount?&gt;&lt;?=$templimit?&gt;" id="amark&lt;?=$tempcount?&gt;&lt;?=$templimit?&gt;" type="text" size="4" maxlength="2"/&gt;&lt;/td&gt;
      &lt;? $templimit = $templimit + 1; 

      ?&gt;
      &lt;td&gt;&lt;input name="amark&lt;?=$tempcount?&gt;&lt;?=$templimit?&gt;" id="amark&lt;?=$tempcount?&gt;&lt;?=$templimit?&gt;" type="text" size="4" maxlength="2"/&gt;&lt;/td&gt;         
&lt;/tr&gt;
</code></pre>

<p></p>

<p></p>
