Re: Assistance Please - Two-Dimension Arrays
| From: | Christian Reiniger | Date: | Mon, 24 Sep 2001 10:12:15 +0000 |
| Subject: | Re: Assistance Please - Two-Dimension Arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68498@lists.php.net to get a copy of this message | ||
On Monday 24 September 2001 11:15, Tim Ward wrote:
> " Congratulations. You just described a multidimensional array :-) "
>
> No he didn't ... a 2 dimensional array would have a set 2 dimensional
> structure. Each row would have to have the same number of columns. An
> array of arrays may be built in such a way as to be able to be
> presented as if it were a 2d array but IT ISN'T. It cannot be
> manipulated as if it were. $element[0]["id"] and $element[1]["id"] are
> NOT members of the same array.
If you see it that way, PHP doesn't even have single-dimensional arrays
(because all arrays are associative).
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)
Results 1 - 10 of about 201,000,000. Search took 0.08 seconds
- http://www.google.com/search?q=e