Balaji1903 / Project

0 stars 0 forks source link

Ghjddd.php #1

Open Balaji1903 opened 1 month ago

Balaji1903 commented 1 month 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