> list($usec,$sec)=explode(" ",microtime()); > mt_srand($sec * $usec); > $quotes = file("quotes"); > echo $quotes[mt_rand(0, (sizeof($quotes)-1))];
Yes!!! That works exactly! I love PHP! I love this list.... and look forward to the day when I can contribute something more than fascinating questions ;-) Thank you! TjL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php