msql_affected_rows

(PHP 3>= 3.0.6, PHP 4 >= 4.0.0)

msql_affected_rows -- Returns number of affected rows

Description

int msql_affected_rows (int query_identifier)

Returns number of affected ("touched") rows by a specific query (i.e. the number of rows returned by a SELECT, the number of rows modified by an update, or the number of rows removed by a delete).

See also: msql_query().