$logg_inn = $_POST['logg_inn']; $passord = $_POST['passord']; if($logg_inn){ if($passord == "300808"){ header("Location: bryllup.php"); } else{ header("Location: http://www.vg.no"); } } ?>