cvs: phpdoc-zh /reference/oracle/functions ora-fetch-into.xml
| From: | Xiao shengwen | Date: | Fri, 01 Nov 2002 09:31:51 +0000 |
| Subject: | cvs: phpdoc-zh /reference/oracle/functions ora-fetch-into.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-773@lists.php.net to get a copy of this message | ||
yincheng Fri Nov 1 04:31:51 2002 EDT
Added files:
/phpdoc-zh/reference/oracle/functions ora-fetch-into.xml
Log:
ok
Index: phpdoc-zh/reference/oracle/functions/ora-fetch-into.xml
+++ phpdoc-zh/reference/oracle/functions/ora-fetch-into.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- $Author: yincheng $ -->
<!-- EN-Revision: 1.5 Maintainer: yincheng Status: ready -->
<!-- splitted from ./en/functions/oracle.xml, last change in rev 1.2 -->
<refentry id="function.ora-fetch-into">
<refnamediv>
<refname>Ora_Fetch_Into</refname>
<refpurpose>½«Ò»ÐÐÊý¾Ý·ÅÈëÊý×é</refpurpose>
</refnamediv>
<refsect1>
<title>ÃèÊö</title>
<methodsynopsis>
<type>int</type><methodname>ora_fetch_into</methodname>
<methodparam><type>int</type><parameter>cursor</parameter></methodparam>
<methodparam><type>array</type><parameter>result</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>
flags
</parameter></methodparam>
</methodsynopsis>
<para>
È¡µÃÒ»ÐÐÊý¾Ý²¢½«Ëü·ÅÈëµ½Ò»¸öÊý×éÖС£²ÎÊý
<parameter>flags</parameter>
ÓÐÁ½¸ö±êÖ¾Öµ£ºÈç¹ûÉèÖà <constant>ORA_FETCHINTO_NULLS</constant>
±êÖ¾£¬ÖµÎª <constant>NULL</constant>
µÄÁÐÉèÖÃÔÚÊý×éÖÐ;Èç¹ûÉèÖÃ
<constant>ORA_FETCHINTO_ASSOC</constant>
±êÖ¾£¬½«´´½¨Ò»¸öÔªËØÓÉÊý¾Ý¿â×Ö¶ÎÃüÃûµÄÊý×é¡£
</para>
<para>
·µ»ØËùÈ¡µÃÐеÄÁÐÊý¡£
</para>
<para>
<example>
<title><function>ora_fetch_into</function></title>
<programlisting role="php">
<![CDATA[
<?php
$results = array();
ora_fetch_into($cursor, $results);
echo $results[0];
echo $results[1];
$results = array();
ora_fetch_into($cursor, $results, ORA_FETCHINTO_NULLS|ORA_FETCHINTO_ASSOC);
echo $results['MyColumn'];
?>
]]>
</programlisting>
</example>
</para>
<simpara>
²Î¼û <function>ora_parse</function>£¬<function>ora_exec</function>£¬
<function>ora_fetch</function> ºÍ <function>ora_do</function>¡£
</simpara>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->