LMSouq
moodle-core Open

optional_param in form

US
user1004265
1 month ago
3 views
Problem Description
I have a question about the optional_param function in a form in PHP (version 5.3.14) After looking over why certain fields were not being saved in a form I have, I realised that this data... $checkdata = optional_param('items', array(), PARAM_INT) Only saves up to 996 places (items) from the form (they are select items and there are many).... Is this a setting or a something I can change? or alternatively something wrong from my end? Thanks in advance ---------- Solution : A moodle function (platform i am working with) Thanks Pekka

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base