fbsql_affected_rowsDescriptionint fbsql_affected_rows ( [resource link_identifier])fbsql_affected_rows() returns the number of rows affected by the last INSERT, UPDATE or DELETE query associated with link_identifier. If the link identifier isn't specified, the last link opened by fbsql_connect() is assumed.
If the last query was a DELETE query with no WHERE clause, all of the records will have been deleted from the table but this function will return zero.
If the last query failed, this function will return -1. See also: fbsql_num_rows(). | ||