<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.maxdb-stmt-init">
 <refnamediv>
  <refname>maxdb_stmt_init</refname>
  <refname>maxdb->stmt_init</refname>
  <refpurpose>Initializes a statement and returns an resource for use with maxdb_stmt_prepare</refpurpose>
 </refnamediv>

 <refsect1 role="description">
  &reftitle.description;
  <para>Procedural style :</para>
  <methodsynopsis>
   <type>resource</type><methodname>maxdb_stmt_init</methodname>
   <methodparam><type>resource</type><parameter>link</parameter></methodparam>
  </methodsynopsis>
  <para>Object oriented style (property):</para>
  <classsynopsis>
   <ooclass><classname>maxdb</classname></ooclass>
   <methodsynopsis>
    <type>object</type><methodname>stmt_init</methodname>
    <void/>
   </methodsynopsis>
  </classsynopsis>
  <para>
   Allocates and initializes a statement resource suitable for
   <function>maxdb_stmt_prepare</function>.
  </para>
  <note>
   <para>
    Any subsequent calls to any maxdb_stmt function
    will fail until <function>maxdb_stmt_prepare</function> was called.
   </para>
  </note>
 </refsect1>

 <refsect1 role="returnvalues">
  &reftitle.returnvalues;
  <para>
   Returns an resource.
  </para>
 </refsect1>

 <refsect1 role="seealso">
  &reftitle.seealso;
  <para>
   <simplelist>
    <member><function>maxdb_stmt_prepare</function></member>
   </simplelist>
  </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
-->