How to get random value in an array ?
It is very simple.
PHP random array function : array_rand()
http://php.net/manual/en/function.array-rand.php
$ran = array(1,2,3,4);
$randomValue = array_rand($ran, 1);
It is very simple.
PHP random array function : array_rand()
http://php.net/manual/en/function.array-rand.php
$ran = array(1,2,3,4);
$randomValue = array_rand($ran, 1);