CodeIgniter Forums
Filtering all post-values in globo? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Filtering all post-values in globo? (/thread-11209.html)



Filtering all post-values in globo? - El Forum - 08-30-2008

[eluser]Ornis[/eluser]
Filtering $_POST data with $something = $this->input->post('something'); is handy. However, each value has to be filtered individually. Is their a possiblity to filter the whole $_POST-array with one command like $myarray = $this->input->post('whole_array').