You are here

13 June 2010
This beginners tutorial shows and explains how to get random value from array in PHP.

First make an array. Then get a random value.

Get single value from array
Function mt_rand gets more random value than rand function.