Skip to content
Snippets Groups Projects
Commit 8e65ac6d authored by Audry Nyonata's avatar Audry Nyonata
Browse files
parents 5212db81 d3cedfe2
No related merge requests found
......@@ -10,7 +10,7 @@
$sql = "INSERT INTO transaction (idCustomer, idDriver, orderDate, pickUp, destination, rate, comment, isShowDriverHistory, isShowCustomerHistory) VALUES ('".$id_customer."','".$id_driver."','".$date."','".$pickup."','".$dest."','".$rate."','".$comment."',1,1)";
if ($conn->query($sql) === TRUE) {
echo "<script>window.location='my_profile.php?id_active=".$_POST["id_active"]."'</script>";
echo "<script>window.location='order_destination.php?id_active=".$_POST["id_active"]."'</script>";
} else {
echo "Error: " . $sql . "<br>" . $conn->error;
}
......
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