Re: Recursion to sanitize user input

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Comex

Thanks!  That worked!  Robet you almost had it but missing the $key in
$newvalue[$key].

----- Original Message -----
From: "Comex" <comexk@xxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Friday, October 08, 2004 8:05 PM
Subject: Re:  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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux