Sizeof a multi-dimensional array??
| From: | Chris Anderson | Date: | Wed, 25 Apr 2001 00:30:31 +0000 |
| Subject: | Sizeof a multi-dimensional array?? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-50523@lists.php.net to get a copy of this message | ||
Alright, count($x) would give me the number of array elements in $x. But how can I get the count of
a multi-dimensional array? Count($x[0]) doesn't seem to work. Thanks in advance
Chris Anderson aka "Null"
--------------------------------------------
PHP Developer / Nulltech
PHP-GTK Tester / gtk.php.net
STA Administrator / www.stronger.org
DOD Co-Owner / www.dayofdefeat.com