delete sql mysql code example
Example 1: mysql delete row
DELETE FROM products WHERE product_id=1;
Example 2: mysql delete
DELETE FROM table_name
WHERE some_column = some_value
Example 3: php pdo delete query
$count=$dbo->prepare("DELETE FROM pdo_admin WHERE id=:id");
$count->bindParam(":id",$id,PDO::PARAM_INT);
$count->execute();