Posted by floortje on 09/27/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
Navigation:
[Reply to this message]
|