// Redirect back to index page header("Location: index.php"); exit; ?>
Amit
// Get product ID from URL $product_id = $_GET['id']; php id 1 shopping top
// Connect to database $conn = new mysqli($dbHost, $dbUsername, $dbPassword, $dbName); // Redirect back to index page header("Location: index