Perchè se una query restituisce 0 risultati mysql_num_rows restituisce errore invece di 0?

Il codice è questo:

Codice PHP:
    $this->query="SELECT * FROM amministratori WHERE user='".$this->user."' AND password='".$this->password."'";
        
$this->connetti();
        
$this->esegui=mysql_query($this->query$this->connetti) or die("Errore nella query: ".mysql_error());
        
$this->nummysql_num_rows($this->esegui) or die("Errore: ".mysql_error());