pdo:delete_statements
PDO - Delete Statements
<?php $stmt = $db->prepare("DELETE FROM table WHERE id=:id"); $stmt->bindValue(':id', $id, PDO::PARAM_STR); $stmt->execute(); $affected_rows = $stmt->rowCount();
pdo/delete_statements.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1