|
PHP5中文手册
sesam_affected_rows(No version information available, might be only in CVS) sesam_affected_rows — Get number of rows affected by an immediate query 说明
int sesam_affected_rows
( string $result_id
)
Gets the number of rows affected by an immediate query. The sesam_affected_rows() function can only return useful values when used in combination with "immediate" SQL statements (updating operations like INSERT, UPDATE and DELETE) because SESAM does not deliver any "affected rows" information for "select type" queries. 返回值Returns the number of rows affected by a query associated with result_id . 范例
Example#1 sesam_affected_rows() example
<?php |