Woh, I had no idea PHP supported more than 2 dimensions...lol, was that a
recent addition?

I could _sware_ I originally read it on either zend.com or in the manual
that 2 dimensional arrays are all that are supported...then again, this is
why I don't gamble :)


Live and learn, lol. Guess I should of actually _tried_ it and not have just
taken their word for it.


--
Plutarck
Should be working on something...
...but forgot what it was.


"CC Zona" <[EMAIL PROTECTED]> wrote in message
9bi3ac$9n9$[EMAIL PROTECTED]">news:9bi3ac$9n9$[EMAIL PROTECTED]...
> In article <9bhrri$sn9$[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED] ("Plutarck") wrote:
>
> > Just another option, but feel free to use multi-dimensional arrays. Just
be
> > aware that PHP supports only two dimensions (so $array[][][] will not
work),
> > and if you try and get fancy with sort() and count() you are going to
give
> > yourself a migraine.
>
> Odd.  3+ dimensions works fine for me.  I pass two dimensional arrays in
> forms all the time, then reference them from $HTTP_*_VARS which adds
> another dimension.  No problem there.  It's true sort() and count() are
> sorting or counting the elements of the first dimension, but PHP does
> provide other functions which allow for effective handling of more
> dimensions (ex. array_multisort()).
>
> --
> CC
>
> --
> 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]
>



-- 
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