Form Php

if ($site != "") :
    header("Location: http://$site");
    exit;
else :
?>





$favsites = array ("www.rntsoft.com","www.yahoo.com","www.ms.com","www.php.com");
?>


Choose a site:
$x = 0;
while ( $x < sizeof ($favsites) ) :
          print "$favsites[$x]";
          $x++;
endwhile;
?>



endif;
?>