so I am trying make a script that will goto 1 url or the other randomly
I figured I would make it select a random number then if $num = 1 goto
www.google.com and if $num = 2 then goto
www.yahoo.com
I can't seam to get it to work I can however get the number part to work
<?php
$num = mt_rand(1, 2);
echo($num);
?>
how would I go about finishing that?