Thanks for your responses guys. I got it to work. Ron ----- Original Message ----- From: Ron Piggott <ron.php@xxxxxxxxxxxxxxxxxx> To: PHP DB <php-db@xxxxxxxxxxxxx> Sent: Saturday, September 04, 2004 2:00 PM Subject: Displaying Text From A Data File > I am still new to PHP and I wanted to ask a question. > > I am wanting to create a PHP script to randomly display one of many greeting > messages on my web site. I was going to store them in a text based file. I > wanted PHP to randomly select one of them and display it each time the > script was loaded. > > I am still new at PHP and I am not sure where to get started. But I was > thinking about this and I am sure this has already been done many times ... > I am not sure where to look on the web. > > Can any of you help me get started? > > Ron > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php