Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Daily Diamond

Wanted: Service PHP guys, please summit quote

Status
Not open for further replies.

chidoug

Level 4
Legacy Platinum Member
Joined
Jan 31, 2005
Messages
137
Reaction score
1
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.
 

jdk

DNF Addict
Legacy Exclusive Member
Joined
Jul 23, 2004
Messages
6,350
Reaction score
24
PM sent
 

GUA

Gremlin
Legacy Exclusive Member
Joined
Aug 22, 2006
Messages
1,495
Reaction score
5
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 :)
 

jdk

DNF Addict
Legacy Exclusive Member
Joined
Jul 23, 2004
Messages
6,350
Reaction score
24
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:
<?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;

?>
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Sedo - it.com Premiums

IT.com

Premium Members

Premium Members

MariaBuy

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom