cvs: phpdoc-zh /reference/oci8/functions ocibindbyname.xml ocicolumnprecision.xml ocicolumntyperaw.xml
| From: | Xiao shengwen | Date: | Mon, 15 Dec 2003 06:21:03 +0000 |
| Subject: | cvs: phpdoc-zh /reference/oci8/functions ocibindbyname.xml ocicolumnprecision.xml ocicolumntyperaw.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-1801@lists.php.net to get a copy of this message | ||
yincheng Mon Dec 15 01:21:03 2003 EDT
Modified files:
/phpdoc-zh/reference/oci8/functions ocibindbyname.xml
ocicolumnprecision.xml
ocicolumntyperaw.xml
Log:
update
Index: phpdoc-zh/reference/oci8/functions/ocibindbyname.xml
diff -u phpdoc-zh/reference/oci8/functions/ocibindbyname.xml:1.5
phpdoc-zh/reference/oci8/functions/ocibindbyname.xml:1.6
--- phpdoc-zh/reference/oci8/functions/ocibindbyname.xml:1.5 Wed Jul 16 00:07:17 2003
+++ phpdoc-zh/reference/oci8/functions/ocibindbyname.xml Mon Dec 15 01:21:03 2003
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- $Author: yincheng $ -->
-<!-- EN-Revision: 1.6 Maintainer: yincheng Status: ready -->
+<!-- EN-Revision: 1.9 Maintainer: yincheng Status: ready -->
<!-- CREDITS: xuke, Gregory -->
<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.2 -->
<refentry id="function.ocibindbyname">
@@ -15,13 +15,11 @@
<title>ÃèÊö</title>
<methodsynopsis>
<type>bool</type><methodname>ocibindbyname</methodname>
-
<methodparam><type>int</type><parameter>stmt</parameter></methodparam>
+
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
<methodparam><type>string</type><parameter>ph_name</parameter></methodparam>
- <methodparam><type>mixed
&</type><parameter>variable</parameter></methodparam>
-
<methodparam><type>int</type><parameter>length</parameter></methodparam>
- <methodparam choice="opt">
- <type>int</type><parameter>type</parameter>
- </methodparam>
+
<methodparam><type>mixed</type><parameter>&variable</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>maxlength</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>type</parameter></methodparam>
</methodsynopsis>
<para>
<function>ocibindbyname</function> ²ÎÊý
@@ -34,12 +32,13 @@
(Character-File), OCI_B_CLOB (Character-LOB), OCI_B_BLOB
(Binary-LOB) and OCI_B_ROWID (ROWID)¡£
</para>
+ <para>
<example>
<title><function>ocibindbyname</function></title>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
-/* OCIBindByPos example thies@thieso.net (980221)
+/* OCIBindByPos example thies at thieso dot net (980221)
inserts 3 records into emp, and uses the ROWID for updating the
records just after the insert.
*/
@@ -54,13 +53,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;
@@ -91,6 +90,7 @@
]]>
</programlisting>
</example>
+ </para>
<warning>
<para>
ͬʱʹÓÃħÊõÒýÓÃºÍ <function>ocibindbyname</function>
º¯ÊýÊÇÒ»¸ö»µÖ÷Ò⣻ÕâÊÇÒòΪ£º1¡¢±»ÒýÓõıäÁ¿²»ÐèÒªÈκÎÒýÓã»2¡¢ÓÉ
<function>ocibindbyname</function>
º¯Êý²»ÄÜ·Ö±æ×Ô¶¯Ìí¼ÓµÄÒýÓúÍרÃżÓÉϵÄÒýÓã¬ÕâÑùËùÓÐħÊõÓ¦Óö¼»á±»Ð´µ½Êý¾Ý¿âÖС£
Index: phpdoc-zh/reference/oci8/functions/ocicolumnprecision.xml
diff -u phpdoc-zh/reference/oci8/functions/ocicolumnprecision.xml:1.2
phpdoc-zh/reference/oci8/functions/ocicolumnprecision.xml:1.3
--- phpdoc-zh/reference/oci8/functions/ocicolumnprecision.xml:1.2 Tue Feb 25 02:50:29 2003
+++ phpdoc-zh/reference/oci8/functions/ocicolumnprecision.xml Mon Dec 15 01:21:03 2003
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<!-- $Author: gregory $ -->
-<!-- EN-Revision: 1.3 Maintainer: yincheng Status: ready -->
+<!-- $Revision: 1.3 $ -->
+<!-- $Author: yincheng $ -->
+<!-- EN-Revision: 1.5 Maintainer: yincheng Status: ready -->
<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 -->
<refentry id="function.ocicolumnprecision">
<refnamediv>
<refname>ocicolumnprecision</refname>
- <refpurpose>¸Ãº¯ÊýĿǰÔÝʱûÓвο¼Îĵµ</refpurpose>
+ <refpurpose>¸æÖªÄ³Áеľ«¶È</refpurpose>
</refnamediv>
<refsect1>
<title>ÃèÊö</title>
<methodsynopsis>
<type>int</type><methodname>ocicolumnprecision</methodname>
-
<methodparam><type>int</type><parameter>stmt</parameter></methodparam>
+
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
<methodparam><type>int</type><parameter>col</parameter></methodparam>
</methodsynopsis>
<para>
Index: phpdoc-zh/reference/oci8/functions/ocicolumntyperaw.xml
diff -u phpdoc-zh/reference/oci8/functions/ocicolumntyperaw.xml:1.2
phpdoc-zh/reference/oci8/functions/ocicolumntyperaw.xml:1.3
--- phpdoc-zh/reference/oci8/functions/ocicolumntyperaw.xml:1.2 Tue Feb 25 02:50:29 2003
+++ phpdoc-zh/reference/oci8/functions/ocicolumntyperaw.xml Mon Dec 15 01:21:03 2003
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<!-- $Author: gregory $ -->
-<!-- EN-Revision: 1.3 Maintainer: yincheng Status: ready -->
+<!-- $Revision: 1.3 $ -->
+<!-- $Author: yincheng $ -->
+<!-- EN-Revision: 1.5 Maintainer: yincheng Status: ready -->
<!-- splitted from ./en/functions/oci8.xml, last change in rev 1.23 -->
<refentry id="function.ocicolumntyperaw">
<refnamediv>
<refname>ocicolumntyperaw</refname>
- <refpurpose>¸Ãº¯ÊýĿǰÔÝʱûÓвο¼Îĵµ</refpurpose>
+ <refpurpose>¸æÖªÄ³ÁеÄÔʼ oracle Êý¾ÝÀàÐÍ</refpurpose>
</refnamediv>
<refsect1>
<title>ÃèÊö</title>
<methodsynopsis>
<type>mixed</type><methodname>ocicolumntyperaw</methodname>
-
<methodparam><type>int</type><parameter>stmt</parameter></methodparam>
+
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
<methodparam><type>int</type><parameter>col</parameter></methodparam>
</methodsynopsis>
<para>