just use a DATETIME field called "expiry" or something, and in your findall check if the current date <= expiry
On Apr 12, 9:39 am, "Jon M." <[EMAIL PROTECTED]> wrote: > How would I go along to setting an entry to expire after a certain > amount of days? If I made a post and wanted it to be hidden or > "disabled from being viewed or even deleted. How would I go along to > doing that? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
