Location: PHPKode > scripts > PHPDBX > phpdbxa1/phpdbx/mydatabases.php
<?

    /*
        MySQL DataBase
    */

	include_once ('xdatabases.php');

    class TMYDataBase extends TXDataBase
	{

		function TMYDataBase()
		{
		}

		function Connect()
		{
            TXDataBase::Connect();
            $this->Handle = mysql_connect($this->Host, $this->User, $this->Password)
                              or die(mysql_errmsg());
            mysql_select_db($this->Base);
		}

		function Disconnect()
		{
            $Result = mysql_close($this->Handle);
            TXDataBase::Disconnect();
            return $Result;
		}

		function Reload()
		{
		 	$this->Connect();
		}

	}
?>
Return current item: PHPDBX