Hi Larry,

Tuesday, June 19, 2007, 2:55:07 AM, you wrote:

> Perhaps you're looking for in_array()?

If only it was that simple! But pray tell how an in_array search is
going to find:

$userparam = "test['bob'][]";

within:

Array
(
    [test] => Array
        (
            ['bob'] => Array
                (
                    [0] => red
                    [1] => green
                    [2] => blue
                )
        )
)

?

The problem is that $userparam in the example above needs to be
expanded out into a form that $_POST can be searched for it. Or vica
versa.

Cheers,

Rich
-- 
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to