Re: PHP 4.2.3 release.
| From: | Terence Kearns | Date: | Tue, 10 Sep 2002 01:57:14 +0000 |
| Subject: | Re: PHP 4.2.3 release. | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88120@lists.php.net to get a copy of this message | ||
In any case, HTML forms can only create uni-demensional lists. So it only makes sense to ask PHP to put those into uni-dimensional arrays.
If you want to put that data into a multi-demnsional array on the server, then you should use deliberate code to do so - not through PHP's (post)list-to-array feature.
Mike Hall wrote:
Would the <select name="fields['tech_id'][]"> syntax work? That should give an identical array, if I'm seeing what you're doing right. Mike ----- Original Message ----- From: <derick@php.net> To: "Xavier Spriet" <xavier@nextdimensioninc.com> Cc: <php-dev@lists.php.net> Sent: Wednesday, September 04, 2002 6:47 PM Subject: Re: [PHP-DEV] PHP 4.2.3 release.Hey, did this ever work at all? AFAIK you can only use [] _once_ to denote it's an array. Derick