src/lastfmapi/Lib/MySql.php
public function query($sql)
    {
        if (!$queryResource = mysql_query($sql, $this->dbConn)) {
            echo mysql_error();
            $this->handleError();
        } else {
            return new MySqlResult($this, $queryResource);
        }
    }
public function query($sql)
    {
        if (!$queryResource = mysql_query($sql, $this->dbConn)) {
            echo mysql_error();
            $this->handleError();
        } else {
            return new MySqlResult($this, $queryResource);
        }
    }
public function query ( $ sql ) { if ( ! $ queryResource = mysql_query ( $ sql , $ this -> dbConn ) ) { echo mysql_error ( ) ; $ this -> handleError ( ) ; } else { return new MySqlResult ( $ this , $ queryResource ) ; } }
Command which runs queries. Returns a class on success and flase on error
@param string $sql The SQL query to run
@return class
@uses lastfmApiDatabase_result
Command which runs queries . Returns a class on success and flase on error