Hi,
I want to output a random value from an array. i use the array_rand() function but this function returns the array key while i want echo the value.
$mtn = array(08034, 08035, 08036,08037);
$mtnwinner = array_rand($mtn, $num_req = 1);
echo $mtnwinner;
the above code will return any of the following values 0,1,2,3.