title: optional_param in form
body: <p>I have a question about the optional_param function in a form in PHP (version 5.3.14)</p>
  
  <p>After looking over why certain fields were not being saved in a form I have, I realised that this data...</p>
  
  <pre><code>$checkdata = optional_param('items', array(), PARAM_INT)
  </code></pre>
  
  <p>Only saves up to 996 places (items) from the form (they are select items and there are many)....</p>
  
  <p>Is this a setting or a something I can change? or alternatively something wrong from my end?</p>
  
  <p>Thanks in advance</p>
  
  <hr>
  
  <p>Solution : A moodle function (platform i am working with)</p>
  
  <p>Thanks Pekka</p>