To get number of rows from SELECT, use ocirowcount function instead of oci_num_rows().
Though this is an alias of oci_num_rows, the behavior for this is different as oci_num_rows will return you only rows affected by DML statements
Descrição
Esta função é um apelido para: oci_num_rows().
User Contributed Notes
ocirowcount
ocirowcount
Ved Prakash
11-Jul-2010 09:28
11-Jul-2010 09:28

ocirollback