Re: Problem with hidden form input values

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

 



On Friday 21 January 2005 03:20, Richard Lynch wrote:

> >> The *do* POST, but PHP only handles one level of array references in
> >> NAME=xxx

[snip]

> What you are receiving from HTTP/POST/PHP is the same as:
>
> $keyField['mb_memberhips][0'] = 'mb_e_id';
>
> Note the lack of intervening apostrophes you expected:
> $keyField['mb_memberhips']['0'] = 'mb_e_id';
>
> PHP only parses POST data to *ONE* dimension.

Richard, what ancient version of PHP are we talking about here? Something 
like:

<input type="text" name="doo[dah][dee][dib][dab]" value="dub">

and print_r($_POST)

Would result in:

Array
(
    [doo] => Array
        (
            [dah] => Array
                (
                    [dee] => Array
                        (
                            [dib] => Array
                                (
                                    [dab] => dub
                                )
                        )
                )
        )
)

Has worked for ages for me.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
New Year Resolution: Ignore top posted posts

-- 
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