View Single Post
Old 10-27-2003, 02:51 PM  
Butrflied
Confirmed User
 
Join Date: Aug 2002
Location: SoFLa
Posts: 1,344
PHP Code:
<?
//set up the array first
$url=array('http://www.freakmanor.com','http://www.free-porn-spot.com','http://www.msnarcissa.com','http://www.chainleather.com','http://www.php.net','http://www.infidelguy.com','http://www.blowmeuptom.com', 'http://www.rotten.com', 'http://www.google.com', 'http://www.typeonegative.net', 'http://www.queensryche.com', 'http://www.big-tits.com', 'http://www.kinkinc.net', 'http://www.sex.com', 'http://www.boysrus.com', 'http://www.gofuckyourself.com', 'http://www.hardcoredesigns.net', 'http://www.whoopsie.com', 'http://www.nurple.com', 'http://www.leathercellar.com', 'http://www.bmezine.com', 'http://www.yahoo.com', 'http://www.silkandsteel.com', 'http://www.porncity.net', 'http://www.gor.com', 'http://www.halloween.com', 'http://www.gfy.com', 'http://www.talawolf.com', 'http://www.naughtyfables.com', 'http://www.dogfarts.com', 'http://www.homestarrunner.com');
//What day is it?
$day_of_month = (date("j")-1);
//Output
print("<a href=\"$url[$day_of_month]\">$url[$day_of_month]</A>");
?>
You forgot the closing quote on your html link and you had the wrong variable name there
__________________
~Butrflied~
Butrflied is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote