Codice PHP:
$query "SELECT * FROM Giocatori WHERE Squadra = '$Squadra1' AND Rosa = '0' ORDER BY Nome";
$result mysql_query($query$db);
while (
$row mysql_fetch_array($result)) {
$IDMarcatore1 $row["ID"];
$NomeMarcatore1 $row["Nome"];

$query3 "SELECT * FROM Marcatori2 WHERE Incontro = '$Incontro' AND Nome = '$IDMarcatore1' AND Squadra = '$Squadra1'";
$resul3 mysql_query($query3$db);
$row3 mysql_fetch_array($result3);
$Goal1 $row3["Goal"];

echo 
"<tr>
<td>[b]
$NomeMarcatore1[/b]</td>
<td align=\"center\"><input name=\"G
$IDMarcatore1\" type=\"text\" size=\"4\" maxlength=\"255\" value=\"$Goal1\" /></td>
</tr>"
;

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home1/dir/public_html/dir/admin/modifica_incontro.php on line 374

riga 374 = $row3 = mysql_fetch_array($result3);

Considerando che mysql_errore() è vuoto, dove può essere l'errore? :master: