Reply LinkBack Thread Tools Search this Thread
Old 12-04-2007, 17:59   #21 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
Now, of course, that's showing a RANDOM image. So, it could be the same image tomorrow, but probably won't be.
  Reply With Quote
Old 12-04-2007, 18:08   #22 (permalink)
helpmeplz
Needs help
 
helpmeplz's Avatar
 
Join Date: Sep 2004
Posts: 26
I await with bated breath. Thanks.
  Reply With Quote
Old 12-04-2007, 22:13   #23 (permalink)
gk
geek
 
gk's Avatar
 
Join Date: Oct 2006
Location: *.everywhere
Posts: 204
Send a message via ICQ to gk Send a message via AIM to gk Send a message via MSN to gk Send a message via Yahoo to gk
DANGER WILL ROBINSON!!!! DANGER!!!!

Code:
$last_image=054; srand(date('z')); $image_number=rand(1, $last);
should be
Code:
$last_image=054; srand(date('z')); $image_number=rand(1, $last_image);
  Reply With Quote
Old 14-04-2007, 16:34   #24 (permalink)
helpmeplz
Needs help
 
helpmeplz's Avatar
 
Join Date: Sep 2004
Posts: 26
Phew, thanks!
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8