composer @Ta | |
2020-03-02 20:31 |
int PDOStatement::rowCount ( void )
<?php
/* 从 FRUIT 数据表中删除所有行 */
$del = $dbh->prepare('delete FROM fruit');
$del->execute();
/* 返回被删除的行数 */
print("Return number of rows that were deleted:\n");
$count = $del->rowCount();
print("Deleted $count rows.\n");
?>
阅:2060 | 发表于2020-03-02 20:31 |
心灵鸡汤:
      
®2019-2025 all power by Zlproject3.7
川公网安备 51192202000151号
蜀ICP备2021014921号-2
首页 #top
天合之作 曲在人意