Hi, How can I code a page in HTML ONLY, some function that would show a certain number, probably according to the server's date? for example, If I wanna create a page with a line that would say: "All Inquieries would be responded until 25th April.", if today's date is april 25th. and so on is it possible with some server side include maybe? I don't want the client to see that it is some sort of script in the source, but to see it as if it was a regular coded line.... I'm not necessarily looking for a function that would list the date according to the user's own date, or that would also change the presentation of the month, like from March to April, because I don't know if its possible, so I'm ready to compromise with just having the number automatically bounce, in one number up, each day, according to the date in my Server hope you get what I mean, it was a little hard to explain. thanks!
If you don't want them to see the code you will probably have to use PHP's 'echo date' or similar function.
ok, I don't know exactly what php means and how it functions, I guess that my webhost support it as well though, I only have knowledge in html, and I would like to keep my pages in .html, since that's the way they are already showing in google, so is there nothing that can be done? and how could it be done without hiding the code?
Ifm you're not bothered about the code been seen you can use javascript: http://www.tizag.com/javascriptT/javascriptdate.php
if YOU have php SSI enabled on your html files then the php code below will do your job as well <?php $today = date("r T "); ?> <p>Last updated <?php echo $today ?></p> replace "Last updated" with whatever text you want displayed before or after your actual date a little research in google about the function date() will show you all variations to display date see also http://www.php.net/date else use any of the javascript mentioned already