| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
cubrid_affected_rows(PECL CUBRID >= 8.3.0) cubrid_affected_rows — Return the number of rows affected by the last SQL statement 説明
int cubrid_affected_rows
([ resource
$conn_identifier
] )
int cubrid_affected_rows
([ resource
$req_identifier
] )The cubrid_affected_rows() function is used to get the number of rows affected by the SQL statement (INSERT, DELETE, UPDATE). パラメータ
返り値Number of rows affected by the SQL statement, when process is successful. -1, when SQL statement is not INSERT, DELETE or UPDATE.
例例1 cubrid_affected_rows() example
<?php 上の例の出力は以下となります。 Rows deleted: 5 |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「cubrid_affected_rows - Return the number of rows affected by the last SQL statement」をGoogle検索
|