Re: Re: "COUNT() returns 0 if there were no matching rows." .... really?!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here's an example (snip) from a var_dump of that $BuildPerUniqueDateArray: (note that the 'aweber_7solar_aw' table does NOT have a record for the date '2009-07-28', so I would expect to see that "1" to be a "0" there.)

I fixed this. The problem was the way I was building the array inside the while {} after the query, and also my lack of resetting the counter vars to 0 on each iteration of the date array. (not that anyone was bothering with this thread any more.. but just in case...)

------------
John Butler (Govinda)
govinda.webdnatalk@xxxxxxxxx




--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux