Просмотр поста

.
Windler
$array = array(
$a,
$b,
$c
);
$rand = rand(0, 2);
if (in_array($rand, $array))
echo $array[$rand];