RE: [PHP] Counting Multidimensional Arrays

2001-08-01 Thread Tim Ward
I assume that $m = 07; $y = 2001; $d = 31; echo count($this->arrEvents[$y][$m][$d]); is in a method of the class that $someclass is a method of, something like: class fred { function dispcount() { $m = 07; $y = 2001;

RE: [PHP] Counting Multidimensional Arrays, Solution Found

2001-07-31 Thread Johnny Nguyen
Nevermind. I Found the solution. $m, $y, and $d must be cast to integers. -Original Message- From: Johnny Nguyen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 3:58 PM To: [EMAIL PROTECTED] Subject: [PHP] Counting Multidimensional Arrays Given