cvs: phpdoc-zh /reference/oci8 reference.xml
| From: | Xiao shengwen | Date: | Sat, 03 Jan 2004 10:19:52 +0000 |
| Subject: | cvs: phpdoc-zh /reference/oci8 reference.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-1816@lists.php.net to get a copy of this message | ||
yincheng Sat Jan 3 05:19:52 2004 EDT
Modified files:
/phpdoc-zh/reference/oci8 reference.xml
Log:
update
Index: phpdoc-zh/reference/oci8/reference.xml
diff -u phpdoc-zh/reference/oci8/reference.xml:1.6 phpdoc-zh/reference/oci8/reference.xml:1.7
--- phpdoc-zh/reference/oci8/reference.xml:1.6 Tue Dec 2 22:30:35 2003
+++ phpdoc-zh/reference/oci8/reference.xml Sat Jan 3 05:19:52 2004
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- $Author: yincheng $ -->
-<!-- EN-Revision: 1.10 Maintainer: yincheng Status: ready -->
+<!-- EN-Revision: 1.11 Maintainer: yincheng Status: ready -->
<reference id="ref.oci8">
<title>Oracle 8 º¯Êý¿â</title>
<titleabbrev>OCI8</titleabbrev>
@@ -141,7 +141,7 @@
// for retrieve data use (after fetch):
$result = OCIResult($stmt, $n);
-if (is_object ($result)) $result = $result->load();
+if (is_object($result)) $result = $result->load();
// For INSERT or UPDATE statement use:
@@ -149,9 +149,9 @@
field2 = empty_clob()) returning field2 into :field2";
OCIParse($conn, $sql);
$clob = OCINewDescriptor($conn, OCI_D_LOB);
-OCIBindByName ($stmt, ":field2", &$clob, -1, OCI_B_CLOB);
+OCIBindByName($stmt, ":field2", &$clob, -1, OCI_B_CLOB);
OCIExecute($stmt, OCI_DEFAULT);
-$clob->save ("some text");
+$clob->save("some text");
OCICommit($conn);
?>
@@ -167,17 +167,17 @@
<![CDATA[
<?php
// by webmaster at remoterealty dot com
-$sth = OCIParse ( $dbh, "begin sp_newaddress( :address_id, '$firstname',
+$sth = OCIParse( $dbh, "begin sp_newaddress( :address_id, '$firstname',
'$lastname', '$company', '$address1', '$address2',
'$city', '$state',
- '$postalcode', '$country', :error_code );end;" );
+ '$postalcode', '$country', :error_code );end;");
// This calls stored procedure sp_newaddress, with :address_id being an
// in/out variable and :error_code being an out variable.
// Then you do the binding:
- OCIBindByName ( $sth, ":address_id", $addr_id, 10 );
- OCIBindByName ( $sth, ":error_code", $errorcode, 10 );
- OCIExecute ( $sth );
+ OCIBindByName($sth, ":address_id", $addr_id, 10);
+ OCIBindByName($sth, ":error_code", $errorcode, 10);
+ OCIExecute($sth);
?>
]]>