didou Thu Oct 16 16:33:58 2003 EDT
Modified files:
/phpdoc/en/reference/oci8/functions ocibindbyname.xml
Log:
fixing example as requested by Antony Dovgal and confirmed by Mike Ford
Index: phpdoc/en/reference/oci8/functions/ocibindbyname.xml
diff -u phpdoc/en/reference/oci8/functions/ocibindbyname.xml:1.8
phpdoc/en/reference/oci8/functions/ocibindbyname.xml:1.9
--- phpdoc/en/reference/oci8/functions/ocibindbyname.xml:1.8 Sat Aug 16 12:59:40
2003
+++ phpdoc/en/reference/oci8/functions/ocibindbyname.xml Thu Oct 16 16:33:58
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 -->
<refentry id="function.ocibindbyname">
<refnamediv>
@@ -61,13 +61,13 @@
$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;