From 034fd316857080ba58b4e3249cad0e1fe258e9d4 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Thu, 16 Oct 2003 20:33:58 +0000 Subject: [PATCH] fixing example as requested by Antony Dovgal and confirmed by Mike Ford git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@142531 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/oci8/functions/ocibindbyname.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/reference/oci8/functions/ocibindbyname.xml b/reference/oci8/functions/ocibindbyname.xml index bab723430f..481bde8ec8 100644 --- a/reference/oci8/functions/ocibindbyname.xml +++ b/reference/oci8/functions/ocibindbyname.xml @@ -1,5 +1,5 @@ - + @@ -61,13 +61,13 @@ $data = array(1111 => "Larry", 2222 => "Bill", 3333 => "Jim"); $rowid = OCINewDescriptor($conn,OCI_D_ROWID); -OCIBindByName($stmt,":empno",&$empno,32); -OCIBindByName($stmt,":ename",&$ename,32); -OCIBindByName($stmt,":rid",&$rowid,-1,OCI_B_ROWID); +OCIBindByName($stmt,":empno",$empno,32); +OCIBindByName($stmt,":ename",$ename,32); +OCIBindByName($stmt,":rid",$rowid,-1,OCI_B_ROWID); $update = OCIParse($conn,"update emp set sal = :sal where ROWID = :rid"); -OCIBindByName($update,":rid",&$rowid,-1,OCI_B_ROWID); -OCIBindByName($update,":sal",&$sal,32); +OCIBindByName($update,":rid",$rowid,-1,OCI_B_ROWID); +OCIBindByName($update,":sal",$sal,32); $sal = 10000;