Use file() to load in the names of the movies from your text file into
an array.
Use rand() to pick one of them from the array.

- Tim

On 08 Aug 2001 17:47:36 -0700, Kyle Smith wrote:
> Could somebody please show me, send me an example or redirect me to a page which 
>shows how to show a random FLASH movie from a text file which contains different 
>names of different movies so that when i go on the page it shows lets say, 1 of the 5 
>movies in the text document.
> Finally and almost hard question (probably not for you but for me.... AGGH)
> -lk6-
> Home of the burning lego man!
> ICQ: 115852509
> AIM: legokiller666

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to