Location: PHPKode > projects > PHP Toolbox > apidoc/connect_db.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
   <TITLE> connect_db</TITLE>
   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
   <LINK REL="stylesheet" TYPE="text/css" HREF="docxx.css">
</HEAD>
 <body>
<h1>PHP/Toolbox#2</h1>
<a name=top>&nbsp;</a>
<div class="navbar">
=[<a href="index.html">Contents</a>]=[<a href="HIER.html">Class Tree</a>]=[<a href="#bottom">Bottom</a>]=
</div>
<br>
In file No file:<H2> <A HREF="#DOC.DOCU">connect_db</A></H2><H2>($SQL_HOST,  $USER,  $PW,  $DATABASE = "")</H2><BLOCKQUOTE>Connects to specified database.</BLOCKQUOTE>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>Connects to specified database.
Global $MYSQL_CONN is set by this function.
</BLOCKQUOTE>

<A NAME="DOC.DOCU"></A>
<DL><DT><DT><B>Parameters:</B><DD><B>string</B> - 	- host to connect.
<BR><B>string</B> - 	- user name.
<BR><B>string</B> - 	- password.
<BR><B>string</B> - 	- database name.
<BR><DT><B>Returns:</B><DD>  bool	- TRUE on success.<BR><DD></DL><P> <a name=bottom>&nbsp;</a>
<div class="navbar">
=[<a href="index.html">Contents</a>]=[<a href="HIER.html">Class Tree</a>]=[<a href="#top">Top</a>]=
</div><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>
Return current item: PHP Toolbox