How do I filter multiple array items?

Uniphix

Active member
I have a mass upload feature that I need to filter the array ie

something[{$index}][name]
something[{$index}][description]
something[{$index}][link]

How can I filter this???
 
I have just tried with
PHP:
$_POST['field'][$i]['val']
it is working. Anyway to do that with
PHP:
$input = $this->_input->filter
?
 
I have just tried with
PHP:
$_POST['field'][$i]['val']
it is working. Anyway to do that with
PHP:
$input = $this->_input->filter
?
PHP:
$array = $this->_input->filter(array(
'arr1' => XenForo_Input::UINT,
'arr2' => XenForo_Input::STRING
));
 
Top Bottom