Click to See Complete Forum and Search --> : How to use today's date as part of a link?


htmlnewbie9
02-25-2007, 08:30 AM
Hi Everyone,

I'm pretty new to HTML, and I have a simple question...

I'd like to have a link for people to click on that would load one of many pages depending on today's date. For example, I'd have the following pages built:

weather022507.htm
weather022607.htm
weather022707.htm
weather022807.htm

and depending on today's date, the proper one would load. It's like including a parameter on the link... how would the link look? And what's that called? Dynamic linking?

Thanks in advance.

HTMLnewbie

kiwibrit
02-25-2007, 08:34 AM
You need to use either javascript, or, better (IMO), a server-side language such as php.