View Single Post
Old 12-09-2004, 05:26 AM  
Repetitive Monkey
Confirmed User
 
Join Date: Feb 2004
Posts: 3,505
Quote:
Originally posted by Repetitive Monkey
Wrong again! rand(0,count($links)) will give FOUR possibilities; 0, 1, 2, and 3. And there are only three lines (0, 1, and 2). Is simple counting too complex for you?

rand(0,count($links)-1)
I am sorry if I appeared a bit pissy, by the way. I was in a hurry and had no time to smoothe over the words.
Repetitive Monkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote