from sql?? if you are doing: select ... count(date) ...from ... where ...
do: select ... count(date) ...from ... where ... group by date luis. "Tommi Virtanen" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Hi! > > How I can calculate following: > > I have table: > id(int) start_date(date) end_date(date) > 001 2004-03-10 2004-03-12 > 002 2004-03-27 2004-04-02 > 003 2004-04-05 2004-04-06 > > Total count of date is 12. But how I can calculate count of > date per month? > > regards, > > gustavus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php