oci_bind_by_name

PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0
oci_bind_by_name - Binds a PHP variable to an Oracle placeholder
Manual
Code Examples

Example #1 Inserting data with oci_bind_by_name

PHP Version:

Example #2 Binding once for multiple executions

PHP Version:

Example #3 Binding with a foreach loop

PHP Version:

Example #4 Binding in a WHERE clause

PHP Version:

Example #5 Binding with a LIKE clause

PHP Version:

Example #6 Binding with REGEXP_LIKE

PHP Version:

Example #7 Binding Multiple Values in an IN Clause

PHP Version:

Example #8 Binding a ROWID returned by a query

PHP Version:

Example #9 Binding a ROWID on INSERT

PHP Version:

Example #10 Binding for a PL/SQL stored function

PHP Version:

Example #11 Binding parameters for a PL/SQL stored procedure

PHP Version:

Example #12 Binding a CLOB column

PHP Version:

Example #13 Binding a PL/SQL BOOLEAN

PHP Version:


Function oci_bind_by_name:

Oracle OCI8 Functions

Most used PHP functions