![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||
fbsql_affected_rows(PHP 4 >= 4.0.6, PHP 5) fbsql_affected_rows -- Get number of affected rows in previous FrontBase operationDescriptionint 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(). Copyright © 1997 - 2007 by the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later. A copy of the Open Publication License is distributed with this manual, the latest version is presently available at http://www.opencontent.org/openpub/. Please see full copyright text at http://www.php.net/manual/en/copyright.php Original version of the above documentation is available at http://www.php.net/manual/en/ |
|