note 2390 deleted from count by ronabop
| From: | ronabop@php.net | Date: | Wed, 23 Aug 2000 06:24:53 +0000 |
| Subject: | note 2390 deleted from count by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2946@lists.php.net to get a copy of this message | ||
This function seems to be somewhat tempermental, or maybe I'm just an idiot. I am querying a
database and placing the result into an array, then trying to count the array elements. There
should be 4 elements, but the count() function is returning only a 2. If I hard code an array ($a[]
= "1"; $a[] = "2"...), then count it with count($a), it returns correctly. Any
ideas?