php-db | 2002091
Date: 09/14/02
- Next message: John Holmes: "RE: [PHP-DB] A group count question"
- Previous message: Ray Healy \(Data Net Services\): "[PHP-DB] Newbie question - is this possible"
- Next in thread: John Holmes: "RE: [PHP-DB] A group count question"
- Reply: John Holmes: "RE: [PHP-DB] A group count question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi All
I have a table that I would like to show some stats based on num
messages collated to date posted.
I think I need something like
Count(replies) where date= month(dateposted)
But its probaly wrong.
All I need is to show that say that in month 8, 500 messages were sent
and in month 9 300 messages were sent and so on.
Can someone please help with some guidence or samples.
Using MySql and php 4.2+ usinf datetime stamp for the date col.
Thank in advance
Dave C
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: John Holmes: "RE: [PHP-DB] A group count question"
- Previous message: Ray Healy \(Data Net Services\): "[PHP-DB] Newbie question - is this possible"
- Next in thread: John Holmes: "RE: [PHP-DB] A group count question"
- Reply: John Holmes: "RE: [PHP-DB] A group count question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

