Re: [PHP] count the elements of each dimension of the array

2003-12-13 Thread Marek Kilimajer
[EMAIL PROTECTED] wrote: I have this script: This is illegal. Only one pair of empty square brackets is allowed. How whould php know where to add the new key? $ojpp[][] = "1"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] count the elements of each dimension of the array

2003-12-12 Thread orlandopozo
I have this script: I want to count the elements of each dimension, but the script give me an error, thanks in advanced for any help.