code:<?php $wordlist = file('english-words.50'); function pick_a_word() { global $wordlist; return trim($wordlist[rand(0, count($wordlist) - 1)]); } for ($i = 0; $i < 20; $i ++) echo pick_a_word() . ' '; ?>