Dear Friends,
I have a news display module in my site. Its display the news according to the Admin's entry. Its fine. Now I want to allow selected users to add news in side my module.
I have these fields in my form as follws.
News Id, Topic, Enteredby, entry time(System time),message and expiry_time(Drop down menu, they are one day, two days, three days,one week and one month).
I want to delete the message from the datbase automatically according to the expiry time. For example if the user select one day from expiry_time then the record should be deleted exactly after 1 day and the same thing to be happend for all selections. Aprt from this I wan to give manual deletion also.
Please help me to do this. And I am expecting your reply.If possible please send me some sample codes for this problem. I hope you my friends help me in this problem.
Thanx a lot for your concern.