Posted by floortje on 10/11/77 12:00
floortje wrote:
> Fred Atkinson wrote:
>> I've written a PHP script that randomly selects a sound file
>> to play for the BGSOUND tag.
> echo '<bgsound src="'.$array[floor(rand(0,(count($array)*100))/100)].'">';
should be
echo '<bgsound
src="'.$array[floor(rand(0,(count($array)*100)-1)/100)].'">';
>
> Arjen
[Back to original message]
|