Thread
:
Quick way to select a random array element?
View Single Post
03-11-2004, 11:42 AM
#
1
(
permalink
)
Epsilon
Regular Contributor
Join Date: Mar 2003
Location: Las Vegas, NV
Posts: 131
Quick way to select a random array element?
$array = array('red','yellow','blue','green');
What would be a quick, one line way of selecting a random element from an array like this?
__________________
--Epsilon--
Epsilon
View Public Profile
Visit Epsilon's homepage!
Find More Posts by Epsilon