Posted by Jason Wong on 01/20/05 22:05
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
Navigation:
[Reply to this message]
|