Hi is there a way that i can set header not go anywhere like the problem with this is that it still goes to the second header is there a way i can set if none do nothing exit? and else do the second header??
PHP Code:<?php
if ($_POST['agents']=="none")
{
header("location:#");
exit;
// header("Location: {$_SERVER['PHP_SELF']}");
}
else
{
header("location:http://www.xxxxxx.co.uk/tv/".$_POST['agents']."/index.php");
}
?>



Reply With Quote
Bookmarks