Search Help Board

PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help

C# Help


LXXIII. Oracle functions


This extension adds support for Oracle database server access. See also the OCI8 extension.


You have to compile PHP with the option --with-oracle[=DIR], where DIR defaults to your environmment variable ORACLE_HOME.

Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

ORA_BIND_INOUT (integer)

ORA_BIND_IN (integer)

ORA_BIND_OUT (integer)



Table of Contents
Ora_Bind?--?bind a PHP variable to an Oracle parameter
Ora_Close?--?close an Oracle cursor
ora_columnname?--?Get name of Oracle result column
ora_columnsize?--?get size of Oracle result column
ora_columntype?--?Get type of Oracle result column
ora_commit?--?commit an Oracle transaction
ora_commitoff?--?disable automatic commit
Ora_CommitOn?--?enable automatic commit
Ora_Do?--?Parse, Exec, Fetch
ora_error?--?get Oracle error message
ora_errorcode?--?get Oracle error code
ora_exec?--?Execute parsed statement on an Oracle cursor
Ora_Fetch_Into?--?Fetch a row into the specified result array
Ora_Fetch?--?fetch a row of data from a cursor
ora_getcolumn?--?Get data from a fetched column
ora_logoff?--?Close an Oracle connection
ora_logon?--?Open an Oracle connection
ora_numcols?--?Returns the number of columns
ora_numrows?--?Returns the number of rows
ora_open?--?open an Oracle cursor
ora_parse?--?Parse an SQL statement with Oracle
ora_plogon?--? Open a persistent Oracle connection
Ora_Rollback?--?roll back transaction