Not sure if this is what you're looking for, but a possible solution could
be:

<?
if ($_POST['var'] == "this")
        $page = "script1";

if ($_POST['var'] == "that")
        $page = "script2";

header("Location: $page.php"); }
?>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to