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 <[email protected]> wrote:
>
> On Mon, Feb 16, 2009 at 5:44 PM, Miles J <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to