<?
    switch ($_GET["site"])
    {
        case "PHP":
            header("Location: http://us.php.net/results.php?q=" . $_GET["q"]);
            break;

        case "MySQL":
            header("Location: http://search.mysql.com/search?q=foo" . $_GET["q"]);
            break;
    }
?>
