View Single Post
Old 10-27-2003, 02:45 PM  
Tala
Fucked if I know
 
Join Date: Dec 2002
Location: Do you have a flag?
Posts: 23,368
PHP Gurus, please help me.

Yes, I'm VERY new at this. Someone please tell me what I'm doing wrong. This won't output what it's supposed to, and it's for an assignment. (READ: no flames, please, I'm honestly seeking help.)

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]$url[$day]</A>");
?>
__________________

ICQ: 11120676 | Google: mindcrime | Skype: suitemindcrime|E-Mail: mindcrime AT gmail.com|PR girl with great writing skills for hire!!!! Contact me to work for YOU!|TECHIEMEDIA? 24/7 support from some of the best techs in the biz. Tell Jim that I sent you.

Last edited by Tala; 10-27-2003 at 02:48 PM..
Tala is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote