Hi Comex
Thanks! That worked! Robet you almost had it but missing the $key in
$newvalue[$key].
----- Original Message -----
From: "Comex" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 08, 2004 8:05 PM
Subject: Re: [PHP] Recursion to sanitize user input
> foreach ( $userInput as $key => $value )
> {
> $newvalue[$key] = sanitize( $value );
> }
> return $newvalue;
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php