PM sent
If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.
Register Today on DNForum IT'S FREE!I have a web site, and on this web site I would like for some of the data of a page to change according to the day of the week. (Monday, Tuesday, etc..)
The idea is that the site is to offer information about daily specials. So I was thinking that php along with a database would work best.
There is a special for each day of the week, there also might be additional events and such
Please contact me to discuss further details.
Mate..
If you have say 7 html files which contain the data for each day of the week.. then ill do it for free. Any more complex, and I wont simply because im lazy and stick to my own projects.. just pointing out it isnt hard, can be done in about 5 minutes, so dont go forking out loads of cash![]()
Read my blog, use my domain tools (Domain Portfolio Manger, Whois History, Domainer Directory and More) http://GUA.com
If you pay, you pay. If you don't, you don't.
Here is the code. Feel free to edit the image tags to however you see fit i.e.) width, height, alt tags, or even other content.
PHP Code:<?php
$sun_image='<img src="sunday.gif" />';
$mon_image='<img src="monday.gif" />';
$tues_image='<img src="tuesday.gif" />';
$wed_image='<img src="wednesday.gif" />';
$thur_image='<img src="thursday.gif" />';
$fri_image='<img src="friday.gif" />';
$sat_image='<img src="saturday.gif" />';
$get_day=date("l");
if($get_day=="Sunday") echo $sun_image;
elseif($get_day=="Monday") echo $mon_image;
elseif($get_day=="Tuesday") echo $tues_image;
elseif($get_day=="Wednesday") echo $wed_image;
elseif($get_day=="Thursday") echo $thur_image;
elseif($get_day=="Friday") echo $fri_image;
elseif($get_day=="Saturday") echo $sat_image;
?>
Doug is the man!
Bookmarks