chi sa che vuol dire questo errorre?

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.sito.it/home/prova2.php on line 94
sulla riga 94 ho:

Codice PHP:
    if (mysql_num_rows($ris_query) == 0){?>