src/lastfmapi/Lib/MySql.php
private function connectToDb()
    {
        if (!$this->dbConn = @mysql_connect($this->host, $this->dbUser, $this->dbPass)) {
            $this->handleError();
        } else if (!@mysql_select_db($this->dbName, $this->dbConn)) {
            $this->handleError();
        }
    }
private function connectToDb()
    {
        if (!$this->dbConn = @mysql_connect($this->host, $this->dbUser, $this->dbPass)) {
            $this->handleError();
        } else if (!@mysql_select_db($this->dbName, $this->dbConn)) {
            $this->handleError();
        }
    }
private function connectToDb ( ) { if ( ! $ this -> dbConn = @ mysql_connect ( $ this -> host , $ this -> dbUser , $ this -> dbPass ) ) { $ this -> handleError ( ) ; } else if ( ! @ mysql_select_db ( $ this -> dbName , $ this -> dbConn ) ) { $ this -> handleError ( ) ; } }
Internal command to connect to the database
@return void
Internal command to connect to the database