prepare("SELECT * FROM orders WHERE id = ? AND user_id = ?"); $stmt->execute([$order_id, $_SESSION['user_id']]); $order = $stmt->fetch(); if (!$order) { header("Location: profile.php"); exit; } ?>

Order Successful!

Thank you for your purchase.

Order Details

Your order # has been placed successfully.

Total amount: $

View Profile Continue Shopping