An approach to this could also be setting up a trigger in your
database. This way you wouldn't need any code. You would let mysql for
example do the work for you. Then you can use a neat little trick in
mysql and call a "group by with rollup" and get the grouping plus the
count.

I hope that helps.

Regards,

Alfredo


On Mon, Feb 16, 2009 at 5:49 PM, brian <bally.z...@gmail.com> wrote:
>
> On Mon, Feb 16, 2009 at 5:44 PM, Miles J <mileswjohn...@gmail.com> wrote:
>>
>> Well just think of it this way. What are you going to do with the
>> dates for each recorded download?
>
> statistics
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to