RE: [PHP] Assistance Please - Two-Dimension Arrays

From: Date: Mon, 24 Sep 2001 10:36:36 +0000
Subject: RE: [PHP] Assistance Please - Two-Dimension Arrays
Groups: php.general 
Request: Send a blank email to php-general+get-68502@lists.php.net to get a copy of this message
fair point, ... but you can manipulate them as if they were. This isn't the case with arrays of arrays and multi-d arrays. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -----Original Message----- > From: Christian Reiniger [SMTP:creinig@mayn.de] > Sent: Monday, September 24, 2001 11:12 AM > To: Tim Ward; php-general@lists.php.net > Subject: Re: [PHP] Assistance Please - Two-Dimension Arrays > > 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

« previous php.general (#68502) next »