cyprex
Programmer
- Apr 26, 2009
- 1
Hey guys,
I have a site that will be somewhat like a classifieds website. Everything is stored in a mysql database table called 'Postings', including the poster's e-mail address ('Email') and the date ('PostDate') the item was posted.
I want to create code that will automatically e-mail the person 1 month after the posting was submitted with 2 links - 1 to renew the posting, and 1 to remove the posting. Obviously when the renew link is clicked I want to automatically reset the ('PostDate') field to the Current Date, and when the remove link is clicked I want the row to automatically delete.
Any suggestions as to how to do this? And where would I put the code to be execute??
Thanks
Curtis
I have a site that will be somewhat like a classifieds website. Everything is stored in a mysql database table called 'Postings', including the poster's e-mail address ('Email') and the date ('PostDate') the item was posted.
I want to create code that will automatically e-mail the person 1 month after the posting was submitted with 2 links - 1 to renew the posting, and 1 to remove the posting. Obviously when the renew link is clicked I want to automatically reset the ('PostDate') field to the Current Date, and when the remove link is clicked I want the row to automatically delete.
Any suggestions as to how to do this? And where would I put the code to be execute??
Thanks
Curtis