Guest_imported
New member
- Jan 1, 1970
- 0
Hi everybody,
I am creating a forum and I need to create a way to give a post an expiry date. When it expire it'll delete the post from the Database.
I was thinking if I create a variable that changes when the NOW DATE changes, for when the variable to reach 10 it'll do delete.
But How can I code that? or is there a better way to do this?
I am creating a forum and I need to create a way to give a post an expiry date. When it expire it'll delete the post from the Database.
I was thinking if I create a variable that changes when the NOW DATE changes, for when the variable to reach 10 it'll do delete.
But How can I code that? or is there a better way to do this?