Ciao a tutti.. avrei bisogno di sapere come posso ottenere, oltre il punteggio max, anche il valore più basso...
$result = mysql_query("select * from schedina where punteggio = (select max(punteggio) from schedina)")or exit(mysql_error());
$row = mysql_fetch_array($result);
extract ($row);
echo "<td>Il VINCITORE è ID $idd - $utente con schedina N°$id</td><br/>";
echo "<td>Il suo grande punteggio di: $punteggio</td>";
Grazie anticipatamente per l'aiuto!
$result = mysql_query("select * from schedina where punteggio = (select max(punteggio) from schedina)")or exit(mysql_error());
$row = mysql_fetch_array($result);
extract ($row);
echo "<td>Il VINCITORE è ID $idd - $utente con schedina N°$id</td><br/>";
echo "<td>Il suo grande punteggio di: $punteggio</td>";
Grazie anticipatamente per l'aiuto!