I need to remove entries from a calendar once a certain date has passed. I'm thinking that the query should look something like this:
UPDATE calendar SET entrydeleted = '1' WHERE currentdate < 'entrydate'
I'm guessing that I just need to have some value in the place of 'currentdate', but I don't have much knowledge of how dates work with php so if someone could help me out with this query I'd appreciate it.
Thanks,
WebmasterJoe