private function __construct(){
mysql_connect(self::Host,self::Root,self::Pass) or die (mysql_error());
mysql_select_db(self::DB) or die (mysql_error());
}
public static function getInstance (){
if (empty(self::$instance)){
self::$instance = new SQL();
}
return self::$instance;
}