Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (50 sloc) 1.69 KB
<?php
require("../dbCon.php");
/*
$query = $_SESSION['fqOrder'] .
$_SESSION['fqOrderDetailsInsert'] .
$_SESSION['fqShipments'] .
$_SESSION['fqShipAddresses'] .
$_SESSION['fqPayment'];
//$stmt = $con->prepare($query);
//$stmt ->execute();
*/
$query = explode(";", trim($_SESSION['finInsert']));
foreach ($query as $queryS){
if(trim($queryS) <> ""){
$con->query($queryS);
}
// echo "<hr>" . $queryS;
// $stmt = $con->prepare($queryS);
// $stmt ->execute();
}
//header("Location:cCart.php");
?>
<html>
<head>
<title>Order Completed</title>
<link rel="stylesheet" href="../style.css">
</head>
<body>
<div id="header">
<ul id="menu" class="blue">
<li><a href="cDashboard.php">Home</a></li>
<li><a href="cEditProfile.php">Edit Profile</a></li>
<li><a href="cSearchProduct.php">Search Product</a></li>
<li><a href="cCreateOrder.php">Create Order</a></li>
<li><a href="cPayment.php">Payment</a></li>
<li class="active"><a href="cCart.php">Cart</a></li>
<li><a href="cPastOrders.php">Past Orders</a></li>
<li class='fRight'><a href="logout.php">Log Out</a></li>
</ul>
</div>
<div id='contentwrapperShort' class='form-group'>
<h1>Thank you for your order!</h1>
<h1>Your confirmation code is: <?php echo $_SESSION['confirmationCode']; ?></h1>
</div>
</body>
</html>
<?php
$cID = $_SESSION["CustomerID"];
session_unset();
$_SESSION["CustomerID"] = $cID;
You can’t perform that action at this time.