Forums
This topic is locked
Automatic Update
Posted 09 Oct 2004 06:57:41
1
has voted
09 Oct 2004 06:57:41 Saleem Tahir posted:
Hello I have a website where I publish news/articles. I add news in the database and then manully change the status of the news to 'Yes' Daily. This way my news section looks updated daily.
What I want to do is to automate the process of Changing the Status to 'Yes' from 'No' so that I don't have to login daily and change the status of the news daily.
Any prompt help will be great Help
Replies
Replied 09 Oct 2004 13:49:48
09 Oct 2004 13:49:48 Rene Bandsma replied:
You could set an option that a newsfeature will start on a specific day. If you make a field in your database that is holding the date then you can make your newspage to show the newsitems of today and a week ago for example.
With basic ASP code you can get the servers date and compare that to a database value.
With basic ASP code you can get the servers date and compare that to a database value.