Fondatore
Messaggi: 256
Iscritto il: sab ott 11, 2008 11:00 pm
Località: Torremaggiore(Foggia),Italia
Conoscenze Informatiche: Ottime conoscenze del mondo phpnuke, dell'html, php, mysql, css, javascript(Tutto del web!),
discrete conoscenze grafiche, infarinatura di c ++
Re: Creare tabella classifica
Cosi' non va bene?
- Codice:
<table>
<tr>
<td> Id </td>
<td> Squadra </td>
<td> Punti </td>
</tr>
<?php
$query = mysql_query("SELECT * FROM classifica ORDER BY PuntiSquadra ASC");
while($row=mysql_fetch_array($query)){
?>
<tr>
<td><?php echo $row['id']; ?></td>
<td><?php echo $row['NomeSquadra']; ?></td>
<td><?php echo $row['PuntiSquadra']; ?></td>
</tr>
<?php } ?>
</table>
