Source Code:
(back to article)
<?php $colors = array("red", "green", "blue", "yellow", "orange"); $random_color = $colors[array_rand($colors)]; echo $random_color; ?>
Result:
Report an issue