mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-20 19:08:54 +00:00

as UNIX is a registered trademark by the Open Group. References to UNIX were left in where it made sense, like example outputs, and so forth. You can read the Trademark User Guide for "UNIX" at: http://www.unix.org/tmug2.ps or http://www.unix.org/tmug2.pdf git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147067 c90b9560-bf6c-de11-be94-00142212c4b1
64 lines
2.2 KiB
XML
64 lines
2.2 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.3 $ -->
|
|
<refentry id="function.ibase-fetch-assoc">
|
|
<refnamediv>
|
|
<refname>ibase_fetch_assoc</refname>
|
|
<refpurpose>
|
|
Fetch a result row from a query as an associative array
|
|
</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>array</type><methodname>ibase_fetch_assoc</methodname>
|
|
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
|
|
<methodparam choice="opt"><type>int</type><parameter>fetch_flag</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>ibase_fetch_assoc</function> returns an associative array
|
|
that corresponds to the fetched row. Subsequent calls will return
|
|
the next row in the result set, or &false; if there are no more
|
|
rows.
|
|
</para>
|
|
<para>
|
|
<function>ibase_fetch_assoc</function> fetches one row of data from the
|
|
<parameter>result</parameter>. If two or more columns of the result
|
|
have the same field names, the last column will take precedence. To
|
|
access the other column(s) of the same name, you either need to access
|
|
the result with numeric indices by using
|
|
<function>ibase_fetch_row</function> or use alias names in your query.
|
|
</para>
|
|
<para>
|
|
<parameter>fetch_flag</parameter> is a combination of the constants IBASE_TEXT and IBASE_UNIXTIME
|
|
ORed together. Passing IBASE_TEXT will cause this function to return BLOB contents
|
|
instead of BLOB ids. Passing IBASE_UNIXTIME will cause this function to return
|
|
date/time values as Unix timestamps instead of as formatted strings.
|
|
</para>
|
|
<para>
|
|
See also
|
|
<function>ibase_fetch_row</function> and
|
|
<function>ibase_fetch_object</function>.
|
|
</para>
|
|
</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
|
|
-->
|