Forum Moderators: mack

Message Too Old, No Replies

Changing content after date - PHP

         

mlava

5:28 am on Oct 9, 2005 (gmt 0)

10+ Year Member



I want to change the content displayed on a page after a certain date, and hope this can be done with PHP?

Ideally, it would display a pic or text or link or whatever, and then beyond a certain date it would show nothing, or a different link or something

Can this be done?

Thanks in advance... :)

mack

4:58 pm on Oct 9, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I think you might want to look into using php/mysql to acheive this. If the content is stored in a database then you could use the mysql "time stamp" to determine how old an article is. If the article is younger than X then display. If not, don't display.

Mack.