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
Beschreibung
Warnung
Dieser Alias wurde mit PHP 5.4.0 als DEPRECATED (veraltet) markiert. Sich auf diesen Alias zu verlassen ist in keiner Weise empfehlenswert.
Ved Prakash ¶
2 years ago
