i've got a question about redirecting. I put some parameters in my URL so I can use $_GET to get them out en them put them in a variable. Now, when I fill in my form wrong i get redirected but all the parameters are missing and they don't are in the variables anymore. Is there a way you can redirect to the same page with the same parameters?
url with parameters: http://localhost:8888/WD2/Week6/Project/flight_bestel.php?stoelnr=5&prijs=99.00&bestemming=Spanje&aankomst=%20Barcelona%20Airport
url after redirect: http://localhost:8888/WD2/Week6/Project/flight_bestel.php
Thanks


<?php
session_start();
include_once ("scripts/config.php");
include_once ("scripts/api.php");
$stoelNr = $_GET['stoelnr'];
$prijs = $_GET['prijs'];
$bestemming = $_GET['bestemming'];
$aankomst = $_GET['aankomst'];
if($_SERVER['REQUEST_METHOD'] === 'POST') {
}else{};
?>
<?php require_once( 'views/shared/_header.inc' ); ?>
<body>
<header>
<?php include( 'views/shared/_nav.inc' ); ?>
</header>
<main>
<div id="contents" class="container">
<section id="summary">
<form action= "<?php echo $_SERVER['PHP_SELF']; ?>" method="post" class="form-horizontal">
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-info" name="bestel">Bestel nu!</button>
</div>
</div>
</form>
</section>
</div>
</main>
<?php require_once( 'views/shared/_footer.inc' ); ?>