2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 08:26:23 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<refentry xml:id="function.oci-fetch-assoc" xmlns="http://docbook.org/ns/docbook">
|
2007-02-05 03:10:57 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>oci_fetch_assoc</refname>
|
2009-11-18 22:22:35 +00:00
|
|
|
<refpurpose>Returns the next row from a query as an associative array</refpurpose>
|
2007-02-05 03:10:57 +00:00
|
|
|
</refnamediv>
|
2007-02-05 03:10:58 +00:00
|
|
|
|
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2007-02-05 03:10:57 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>array</type><methodname>oci_fetch_assoc</methodname>
|
|
|
|
<methodparam><type>resource</type><parameter>statement</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2009-11-18 22:22:35 +00:00
|
|
|
Returns an associative array containing the next result-set row of a query.
|
|
|
|
Each array entry corresponds to a column of the row. This function
|
|
|
|
is typically called in a loop until it returns &false;, indicating
|
|
|
|
no more rows exist.
|
2007-02-05 03:10:58 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2009-11-18 22:22:35 +00:00
|
|
|
Calling <function>oci_fetch_assoc</function> is identical to
|
|
|
|
calling <function>oci_fetch_array</function>
|
2010-03-11 20:05:07 +00:00
|
|
|
with <constant>OCI_ASSOC</constant>
|
|
|
|
+ <constant>OCI_RETURN_NULLS</constant>.
|
2007-02-05 03:10:57 +00:00
|
|
|
</para>
|
2007-02-05 03:10:58 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
|
|
|
<para>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>statement</parameter></term>
|
|
|
|
<listitem>
|
2009-11-18 22:22:35 +00:00
|
|
|
&oci.arg.statement.id;
|
2007-02-05 03:10:58 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
2009-11-18 22:22:35 +00:00
|
|
|
Returns an associative array. If there are no more rows in
|
|
|
|
the <parameter>statement</parameter> then &false; is returned.
|
2007-02-05 03:10:58 +00:00
|
|
|
</para>
|
2009-11-18 22:22:35 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="notes">
|
|
|
|
&reftitle.notes;
|
2007-02-05 03:10:57 +00:00
|
|
|
<note>
|
2009-11-18 22:22:35 +00:00
|
|
|
<para>
|
|
|
|
See <function>oci_fetch_array</function> for examples of fetching rows.
|
|
|
|
</para>
|
2007-02-05 03:10:57 +00:00
|
|
|
</note>
|
2007-02-05 03:10:58 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
2007-02-05 03:10:57 +00:00
|
|
|
<para>
|
2007-02-05 03:10:58 +00:00
|
|
|
<simplelist>
|
2009-11-18 22:22:35 +00:00
|
|
|
<member><function>oci_fetch</function></member>
|
|
|
|
<member><function>oci_fetch_all</function></member>
|
2007-02-05 03:10:58 +00:00
|
|
|
<member><function>oci_fetch_array</function></member>
|
|
|
|
<member><function>oci_fetch_object</function></member>
|
|
|
|
<member><function>oci_fetch_row</function></member>
|
|
|
|
</simplelist>
|
2007-02-05 03:10:57 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
2007-02-05 03:10:58 +00:00
|
|
|
|
2007-02-05 03:10:57 +00:00
|
|
|
</refentry>
|
2004-03-08 14:12:17 +00:00
|
|
|
|
|
|
|
<!-- 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
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2004-03-08 14:12:17 +00:00
|
|
|
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
|
|
|
|
-->
|
2005-09-06 20:18:30 +00:00
|
|
|
|