It should be the same as any other statement:
$stmt = $dbh->prepare("DELETE FROM fruit WHERE colour = ?"); $stmt->execute(array('red')); $count = $stmt->rowCount();
PDO Statement rowCount () should be what you want to do.
EDIT
Fixed by adding ->rowCount() , which will return a row counter. ->execute in the statement will return bool , true or false , whether the request was deleted or not. Of course, all this information is easily accessible in the PDO Statement.
source share