When using SQL queries in PHP to delete data from a database, what is the correct syntax for deleting multiple entries based on specific criteria?

When deleting multiple entries based on specific criteria in a database using SQL queries in PHP, you can use the `DELETE` statement with a `WHERE` clause to specify the conditions for deletion. This allows you to target and remove multiple rows that meet the specified criteria. Make sure to construct your `WHERE` clause carefully to accurately target the entries you want to delete.

<?php
// Connect to the database
$pdo = new PDO('mysql:host=localhost;dbname=your_database', 'username', 'password');

// Define the criteria for deletion
$condition = "column_name = 'value'";

// Construct the SQL query to delete entries based on the criteria
$sql = "DELETE FROM your_table WHERE $condition";

// Execute the query
$pdo->exec($sql);

echo "Multiple entries deleted successfully.";
?>