willekeurige url uit lijst
Voorbeeld:
random link: http://altavista.com
Script: 
1 2 3 4 5 6 7 8 9 10
|
<div class="tekstkader"> <?php $url[0] = "http://google.com"; $url[1] = "http://altavista.com"; $url[2] = "http://lycos.com"; $url[3] = "http://www.jongevos.nl"; $randomnum = rand(0, count($url)-1); echo "random link: <B>$url[$randomnum]</B>"; ?> </div>
|