msql_affected_rows

(PHP 4, PHP 5, PHP 7)

msql_affected_rowsReturns number of affected rows

说明

msql_affected_rows ( resource $result ) : int

Returns number of affected rows by the last SELECT, UPDATE or DELETE query associated with result.

参数

result

resource 型的结果集。此结果集来自对 msql_query() 的调用。

返回值

Returns the number of affected rows on success, or FALSE on error.

参见

相关文章
php cubrid mysql 兼容性函数 return the number of rows affected by the last sql statementphp ibm db2 函数 returns the number of rows affected by an sql statementphp eio 函数 returns number of finished but unhandled requestsphp frontbase 函数 get number of affected rows in previous frontbase operationphp frontbase 函数 get the number of rows affected by the last statementphp firebird/interbase 函数 return the number of rows that were affected by the previous queryphp informix 函数 get number of rows affected by a queryphp imap 函数 this function returns the uid for the given message sequence numberphp ingres 函数 get the number of rows affected or returned by a queryphp maxdb 函数 gets the number of affected rows in a previous maxdb operationphp maxdb 函数 returns the total number of rows changed deleted or inserted by the last executed statementphp msql 函数 returns number of affected rowsphp msql 函数 get number of rows in resultphp msql 函数 alias of msql num rowsphp mssql 函数 returns the number of records affected by the queryphp sqlite 函数 returns the number of rows that were changed by the most recent sql statementphp sqlite 函数 returns the number of rows in a buffered result setphp sqlsrv 函数 returns the number of rows modified by the last insert update or delete query executedphp svn 函数 returns list of directory contents in repository url optionally at revision numberphp sybase 函数 gets number of affected rows in last query
关注编程学问公众号