public function setDatabase(string $databaseName): bool
	{
		if ($databaseName === '')
		{
			$databaseName = $this->database;
		}

		if (empty($this->connID))
		{
			$this->initialize();
		}

		if ($this->connID->select_db($databaseName))
		{
			$this->database = $databaseName;

			return true;
		}

		return false;
	}
public function setDatabase(string $databaseName): bool
	{
		if ($databaseName === '')
		{
			$databaseName = $this->database;
		}

		if (empty($this->connID))
		{
			$this->initialize();
		}

		if ($this->connID->select_db($databaseName))
		{
			$this->database = $databaseName;

			return true;
		}

		return false;
	}
public function setDatabase ( string $ databaseName ) : bool { if ( $ databaseName === '' ) { $ databaseName = $ this -> database ; } if ( empty ( $ this -> connID ) ) { $ this -> initialize ( ) ; } if ( $ this -> connID -> select_db ( $ databaseName ) ) { $ this -> database = $ databaseName ; return true ; } return false ; }
Select a specific database table to use.

@param string $databaseName

@return boolean
Select a specific database table to use .