Balaji1903 / Project

0 stars 0 forks source link

Jbbhbb #3

Open Balaji1903 opened 3 months ago

Balaji1903 commented 3 months ago

<?php include 'config.php';

// Fetch product details $product_id = isset($_GET['id']) ? intval($_GET['id']) : 0; $product = $conn->query("SELECT * FROM product WHERE id = $product_id")->fetch_assoc();

if (!$product) { die("Product not found."); } ?>

<!DOCTYPE html>

Shipping Details

Product Details

<?= htmlspecialchars($product['name']) ?>

Price: $

Total Price: $

Shipping Details