oci_fetch_array

PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0
oci_fetch_array - Returns the next row from a query as an associative or numeric array
Manual
Code Examples

Example #1 oci_fetch_array with <span class='function-constant'>OCI_RETURN_NULLS</span>

PHP Version:

Example #2 oci_fetch_array with DATE columns

PHP Version:

Example #3 oci_fetch_array with <span class='function-constant'>OCI_BOTH</span>

PHP Version:

Example #4 oci_fetch_array with <span class='function-constant'>OCI_NUM</span>

PHP Version:

Example #5 oci_fetch_array with <span class='function-constant'>OCI_ASSOC</span>

PHP Version:

Example #6 oci_fetch_array with <span class='function-constant'>OCI_RETURN_LOBS</span>

PHP Version:

Example #7 oci_fetch_array with case sensitive column names

PHP Version:

Example #8 oci_fetch_array with columns having duplicate names

PHP Version:

Example #9 oci_fetch_array with REF CURSOR

PHP Version:

Example #10 Pagination with oci_fetch_array using a LIMIT-like query

PHP Version:

Example #11 oci_fetch_array with Oracle Database Implicit Result Sets

PHP Version:


Function oci_fetch_array:

Oracle OCI8 Functions

Most used PHP functions