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>");
?>
|