View Single Post
Old 12-01-2005, 01:31 AM  
J.P.
Confirmed User
 
Join Date: Jun 2004
Posts: 689
try replacing the line that says:

Code:
today=numdays+tdays
with:

Code:
today=(numdays + tdays) % daylinks.length
and start the daylinks array with offset 0, like this:

Code:
daylinks[0]="http://www.cnn.com,CNN"
daylinks[1]="http://www.abcnews.com,ABCNews"
daylinks[2]="http://www.cnet.com,ABC"
daylinks[3]="http://www.geocities.com,Geocities"
daylinks[4]="http://www.lycos.com,Lycos"
daylinks[5]="http://www.infoseek.com,Infoseek"
...
this should solve your problem...
__________________
Webmasters! Looking for new affiliate programs to promote?
Affiliate Program Search <-- Search for programs with FHGs, RSS feed, specific niche sponsors, ...
J.P. is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote