seems that the only solution is to still use $_POST and use filter_var instead, it could have been better! On 23 September 2011 14:11, jean-baptiste verrey < jeanbaptiste.verrey@xxxxxxxxx> wrote: > What do you mean? I don't see how I could use foreach there > > On 23 September 2011 13:31, Al <news@xxxxxxxxxxxxx> wrote: > >> >> >> On 9/23/2011 5:51 AM, jean-baptiste verrey wrote: >> >>> Hi, >>> >>> I have using a form that gives me something like >>> $_POST=array( >>> 'login'=>array( >>> 'email'=>'hello@xxxxxxxxx', >>> 'password'=>'123456' >>> ) >>> ) >>> >>> is there a way to use filter_input function to filter the values? I tried >>> filter_input(INPUT_POST,'**login[email]') but it does not work! >>> >>> Regards, >>> >>> Jean-Baptiste Verrey >>> >>> >> >> foreach() in the manual >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> >