I'm writing an application to count clickthroughs - the number of times a link to an external site is clicked. What is the best way to store this data? I only need to know how many clicks in a month are required, so I was thinking I could just have a database table with one row per month per link, and simply add one to this every time the link is clicked. Is this the best way of doing this, or would it be easier to assign one row per click?
Also, what would be the best way to make the model add 1 to an existing row instead of adding a new row to the table? Thanks, James --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
