Skip to content
Snippets Groups Projects
Commit 90518570 authored by Husnulzaki Wibisono Haryadi's avatar Husnulzaki Wibisono Haryadi
Browse files

Repair header for url redirection on some page

parent a9a5d3c9
1 merge request!45OneHundred - 13515005 - Husnulzaki Wibisono Haryadi
<?php <?php
header('Location : select_location.php') $user_id = $_GET['id'];
header("Location: ../order/select_location.php?id=$user_id");
die();
?> ?>
...@@ -14,11 +14,7 @@ ...@@ -14,11 +14,7 @@
VALUES ('".$dest_city."', '".$pick_city."', '".$score."', '".$comment."', '".$driver_id."', '".$cust_id."', '".$date."') VALUES ('".$dest_city."', '".$pick_city."', '".$score."', '".$comment."', '".$driver_id."', '".$cust_id."', '".$date."')
") or die(mysqli_error($con)); ") or die(mysqli_error($con));
header("Location : order.php");
if ($insert_order_query) {
} else {
echo 'wrong hole';
}
mysqli_close($con); mysqli_close($con);
header('Location: order.php');
?> ?>
\ No newline at end of file
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
} }
else else
{ {
echo "<h2>Nothing to display :(</h2>"; echo "<h3>Nothing to display :(</h3>";
} }
} }
?> ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment