<?php session_start();
if ($result->num_rows > 0) // Output data of each row while($row = $result->fetch_assoc()) echo "ID: " . $row["id"]. " - Name: " . $row["name"]. " - Price: " . $row["price"]. "<br>"; php id 1 shopping top
DELETE FROM shopping_top WHERE id = 1;