📜  php pdo 有结果 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:49.289000             🧑  作者: Mango

代码示例1
prepare('DELETE FROM fruit');
$del->execute();

/* Return number of rows that were deleted */
print("Return number of rows that were deleted:\n");
$count = $del->rowCount();
print("Deleted $count rows.\n");
?>