irwan

random array element, if you refresh

Nov 15th, 2011
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.10 KB | None | 0 0
  1. <?php
  2. $random = array('sky','cloud','mount','farm','byson');
  3. echo $random[array_rand($random)];
  4. ?>
  5.  
Advertisement
Add Comment
Please, Sign In to add comment