<?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.2 $ --> <refentry id="function.maxdb-stmt-close"> <refnamediv> <refname>maxdb_stmt_close</refname> <refname>maxdb_stmt->close</refname> <refpurpose>Closes a prepared statement</refpurpose> </refnamediv> <refsect1> <title>Description</title> <para>Procedural style:</para> <methodsynopsis> <type>bool</type><methodname>maxdb_stmt_close</methodname> <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> </methodsynopsis> <para>Object oriented style (method):</para> <classsynopsis> <ooclass><classname>maxdb_stmt</classname></ooclass> <methodsynopsis> <type>bool</type><methodname>maxdb_stmt->close</methodname> <void /> </methodsynopsis> </classsynopsis> <para> Closes a prepared statement. <function>maxdb_stmt_close</function> also deallocates the statement handle pointed to by <parameter>stmt</parameter>. If the current statement has pending or unread results, this function cancels them so that the next query can be executed. </para> </refsect1> <refsect1> <title>Return values</title> <para>&return.success;</para> </refsect1> <refsect1> <title>See also</title> <para> <function>maxdb_prepare</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 -->