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:[EMAIL PROTECTED]]
> Sent: Monday, September 24, 2001 11:12 AM
> To:   Tim Ward; [EMAIL PROTECTED]
> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to