code:
<?php
$words = array('word1', 'word2', 'word3'); //Fill an array with the random code words
$randomword = $words[rand(0, count($words)-1)]; //Pick a random code word from the array
echo $randomword; //Output the random code word to the page
?>
EDIT: Only noticed the EDIT in Eddie's above post just now, but I'll leave this post here in case anyone needs it for reference or something