<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Initializes a statement and returns an resource for use with maxdb_stmt_prepare</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.maxdb-stmt-free-result.html">maxdb_stmt_free_result</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.maxdb-stmt-num-rows.html">maxdb_stmt_num_rows</a></div> <div class="up"><a href="ref.maxdb.html">MaxDB Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.maxdb-stmt-init" class="refentry"> <div class="refnamediv"> <h1 class="refname">maxdb_stmt_init</h1> <h1 class="refname">maxdb::stmt_init</h1> <p class="verinfo">(PECL maxdb >= 1.0)</p><p class="refpurpose"><span class="refname">maxdb_stmt_init</span> -- <span class="refname">maxdb::stmt_init</span> — <span class="dc-title">Initializes a statement and returns an resource for use with maxdb_stmt_prepare</span></p> </div> <div class="refsect1 description" id="refsect1-function.maxdb-stmt-init-description"> <h3 class="title">Description</h3> <p class="para">Procedural style</p> <div class="methodsynopsis dc-description"> <span class="type">resource</span> <span class="methodname"><strong>maxdb_stmt_init</strong></span> ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$link</code></span> )</div> <p class="para rdfs-comment">Object oriented style</p> <div class="methodsynopsis dc-description"> <span class="type">object</span> <span class="methodname"><strong>maxdb::stmt_init</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Allocates and initializes a statement resource suitable for <span class="function"><a href="function.maxdb-stmt-prepare.html" class="function">maxdb_stmt_prepare()</a></span>. </p> <blockquote class="note"><p><strong class="note">Note</strong>: <p class="para"> Any subsequent calls to any maxdb_stmt function will fail until <span class="function"><a href="function.maxdb-stmt-prepare.html" class="function">maxdb_stmt_prepare()</a></span> was called. </p> </p></blockquote> </div> <div class="refsect1 returnvalues" id="refsect1-function.maxdb-stmt-init-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns an resource. </p> </div> <div class="refsect1 seealso" id="refsect1-function.maxdb-stmt-init-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.maxdb-stmt-prepare.html" class="function" rel="rdfs-seeAlso">maxdb_stmt_prepare()</a> - Prepare an SQL statement for execution</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.maxdb-stmt-free-result.html">maxdb_stmt_free_result</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.maxdb-stmt-num-rows.html">maxdb_stmt_num_rows</a></div> <div class="up"><a href="ref.maxdb.html">MaxDB Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>