<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
  <refentry id="function.mysqli-num-fields">
   <refnamediv>
    <refname>mysqli_num_fields</refname>
    <refname>result->num_fields</refname>
    <refpurpose>
     Get the number of fields in a result
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <para>Procedural style:</para>
     <methodsynopsis>
      <type>int</type><methodname>mysqli_num_fields</methodname>
      <methodparam><type>object</type><parameter>result</parameter></methodparam>
     </methodsynopsis>
     <para>Object oriented style (property):</para>
     <classsynopsis>
      <ooclass><classname>mysqli</classname></ooclass>
       <fieldsynopsis><type>int</type><varname>field_count</varname></fieldsynopsis>
     </classsynopsis>
     <para>
      <function>mysqli_num_fields</function> returns the number of fields from specified result set.
     </para>
   </refsect1>
   <refsect1>
    &reftitle.returnvalues;
    <para>The number of fields from a result set</para>
   </refsect1>
   <refsect1>
    &reftitle.seealso;
    <para>
     <function>mysqli_fetch_field</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
-->