che vuol dire questo errore?
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.sito.it/home/serviziounghie/inserimento4_serviziounghie_new.php on line 225
alla riga 225 ho:
Codice PHP:
if (mysql_num_rows($ris_query_note) == 0){?> 
il codice completo è:
Codice PHP:
<?
$query_note
="SELECT b_storico_note.*, b_operatori.*, b_gruppi.*, b_serviziounghie.*, DATE_FORMAT(b_storico_note.data_ins_note, '%d-%m-%Y') AS data_ins_note
        FROM b_storico_note, b_operatori, b_gruppi, b_serviziounghie
        WHERE b_storico_note.id_serviziunghie = b_serviziounghie.id_serviziunghie AND b_storico_note.id_operatori = b_operatori.id_operatori AND b_operatori.id_gruppi = b_gruppi.id_gruppi AND id_serviziunghie=
$contatto";
    
$ris_query_note=mysql_query($query_note$conn);
if (
mysql_num_rows($ris_query_note) == 0){?>
    <tr>
    <td height="82" colspan="4">

<table width="650" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="120" height="82"><span class="testo_grigio_bold">storico note</span></td>
    <td width="530" align="right"><span class="testo_grigio_bold">al momento non ci sono note per te</span></td>
    </tr>
</table>

</td>
    </tr>
<tr>
    <td height="1" colspan="4" valign="top" bgcolor="BE743F"></td>
    </tr>
<? } else {
    while(
$row_note=mysql_fetch_array($ris_query_note)){?>
<tr>
    <td height="41"><span class="testo_grigio_bold">[img]../images/menu_triangolo.gif[/img]
<?=$row_note['nome_operatore']?>
</span></td>
    <td><span class="testo_grigio_bold"><?=$row_note['nome_gruppo']?></span></td>
    <td><span class="testo_grigio_bold"><?=$row_note['data_ins_note']?></span></td>
      <td align="right"><span class="testo_grigio_bold"><?=$row_note['ora_ins_note']?></span></td>
     </tr>
      <tr>
    <td height="1" colspan="4" valign="top" bgcolor="BE743F"></td>
    </tr>
    <tr>
    <td height="82" colspan="4">

<table width="650" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="120" height="82"><span class="testo_grigio_bold">storico note</span></td>
    <td width="520" align="right"><span class="testo_grigio_bold"><?=$row_note['note_relazionali']?></span></td>
    </tr>
</table>

</td>
    </tr>
<tr>
    <td height="1" colspan="4" valign="top" bgcolor="BE743F"></td>
    </tr>
    <?
        
}
}
?>