You are here: Re: Random BGSOUND script « All PHP « IT news, forums, messages
Re: Random BGSOUND script

Posted by Steve on 09/27/64 12:00

"Steve" <no.one@example.com> wrote in message
news:Fy5jj.24$GW7.23@newsfe05.lga...
> $key = mt_rand(0, 10000) % count($array);
> echo 'bgsound src="' . $key . '" />';

just to be clear...

$morse = array(
'sound_1.wav' ,
'sound_2.wav' ,
'sound_3.wav'
);
$key = mt_rand(0, 10000) % count($morse);
echo '<bgsound src="' . $morse[$key] . '" />';


still an instant "i'm leaving this site now" hit with end-users because of
bgsound. however, i don't think garnering returning visitors is your aim
based on this site or the mismash site. design theory was never a
prerequisite to your being an it/mis professor? i guess that's why you hear
about john hopkins medical program...and nothing else. :)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация