RE: [PHP] Counting Multidimensional Arrays
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
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