Home > PHP > Function > OCI8 > oci_num_rows()

oci_num_rows()

oci_num_rows - Returns number of rows affected during statement execution

Syntax

int oci_num_rows (resource $statement)

Arguments

  • statement - A valid OCI statement identifier.

Description

Gets the number of rows affected during statement execution.

Version

PHP 5, PECL OCI8 >= 1.1.0

Return value

Returns the number of rows affected as an integer, or FALSE on errors.