PHP connection Fatal Error
<pre><code>Warning: mysqli_close() expects parameter 1 to be mysqli, 
    object given in /home/mjcrawle/public_html/toga/homefile/processlogin.php on line 63
</code></pre>

<p>I am trying to connect a database and I am getting the above error.  I I am using 4 different includes in this file  and the include are before I try to connect to the database.</p>

<p>Sample of one of my includes</p>

<pre><code>require_once('../homefile/class/database.class.php');
</code></pre>

<p>The include work fine and this is my line of code to connect my db.</p>

<pre><code>/*New database Object*/
$db = new Database;
</code></pre>

<p>I am kind at a loss...  The database is closed.</p>

<pre><code>mysqli_close($db);
</code></pre>

<p>There is a ton of code but I am not sure anyone would want to wade though it. If you can thing of anything let me know.</p>
