Location: PHPKode > scripts > Category Tree > category-tree/DB_connect.php4
<?
$host = "localhost";
$user = "root";
$password = "";
$db_name = "tree_database";

mysql_connect($host, $user, $password) or die("Connection failed : ".mysql_error());
mysql_select_db($db_name);
?>
Return current item: Category Tree