msql_affected_rows Returns number of affected rows Description intmsql_affected_rows resourcequery_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.