2015-01-27, 06:02 PM
Can someone tell me where to find the source of the function get_input as used in:
I wonder what the function of the 2nd argument is, and what the difference is with simply:
I echo'ed some results and untill now they were the same. But there will be exceptions of course, and I am curious which these are. Sometimes I see that the second argument is omitted.
$variable = $mybb->get_input('xxxx',1);
I wonder what the function of the 2nd argument is, and what the difference is with simply:
$variable = $mybb->input['xxxx'];
I echo'ed some results and untill now they were the same. But there will be exceptions of course, and I am curious which these are. Sometimes I see that the second argument is omitted.