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]

Reply via email to