<!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>Closes a previously opened database connection</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.maxdb-close-long-data.html">maxdb_close_long_data</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.maxdb-commit.html">maxdb_commit</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-close" class="refentry"> <div class="refnamediv"> <h1 class="refname">maxdb_close</h1> <h1 class="refname">maxdb::close</h1> <p class="verinfo">(PECL maxdb >= 1.0)</p><p class="refpurpose"><span class="refname">maxdb_close</span> -- <span class="refname">maxdb::close</span> — <span class="dc-title">Closes a previously opened database connection</span></p> </div> <div class="refsect1 description" id="refsect1-function.maxdb-close-description"> <h3 class="title">Description</h3> <p class="para">Procedural style</p> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><strong>maxdb_close</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">bool</span> <span class="methodname"><strong>maxdb::close</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> The <span class="function"><strong>maxdb_close()</strong></span> function closes a previously opened database connection specified by the <em><code class="parameter">link</code></em> parameter. </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.maxdb-close-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <strong><code>TRUE</code></strong> on success or <strong><code>FALSE</code></strong> on failure. </p> </div> <div class="refsect1 seealso" id="refsect1-function.maxdb-close-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.maxdb-connect.html" class="function" rel="rdfs-seeAlso">maxdb_connect()</a> - Open a new connection to the MaxDB server</span></li> <li class="member"> <span class="function"><a href="function.maxdb-init.html" class="function" rel="rdfs-seeAlso">maxdb_init()</a> - Initializes MaxDB and returns an resource for use with maxdb_real_connect</span></li> <li class="member"> <span class="function"><a href="function.maxdb-real-connect.html" class="function" rel="rdfs-seeAlso">maxdb_real_connect()</a> - Opens a connection to a MaxDB server</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-close-long-data.html">maxdb_close_long_data</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.maxdb-commit.html">maxdb_commit</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>