Re: RANDOM MOVIE?
| From: | Tim | Date: | Wed, 08 Aug 2001 17:03:53 +0000 |
| Subject: | Re: RANDOM MOVIE? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61863@lists.php.net to get a copy of this message | ||
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-
> http://www.StupeedStudios.f2s.com
> Home of the burning lego man!
>
> ICQ: 115852509
> MSN: dbzno1fan@hotmail.com
> AIM: legokiller666
>
>