Location: PHPKode > projects > FunGamez > includes/database.php
<?php

class DB
{
   function connect()
   {
      include('./config.php');
      If ( !mysql_connect($sql['host'], $sql['user'], $sql['pass']) ) die(mysql_error());
	  If ( !mysql_select_db($sql['database']) ) die(mysql_error());
   }
}

$db = new DB();

?>
Return current item: FunGamez