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.

锟轿硷拷