vedi se ti funziona così,io i vari parametri giornata,data_a,etc li ho messi a cso,cambiali e prova:
Codice PHP:
<?php
$squadra = $_GET['squadra'];
echo "<Table Width=\"90%\" Align=\"Center\" Cellpadding=\"3\" Cellspacing=\"1\">";
echo "<Tr>";
echo "<Td width=\"150px\" align=\"center\" bgcolor=\"#D9D9D9\">";
echo "[B]GIORNATA[/B]";
echo "</Td>";
echo "<Td width=\"250\" align=\"center\" bgcolor=\"#D9D9D9\">";
echo "[B]PARTITA[/B]";
echo "</Td>";
echo "<Td width=\"100\" align=\"center\" bgcolor=\"#D9D9D9\">";
echo "[B]DATA[/B]";
echo "</Td>";
echo "<Td width=\"60\" align=\"center\" bgcolor=\"#D9D9D9\">";
echo "[B]RISULTATO[/B]";
echo "</Td>";
echo "<Td width=\"100\" align=\"center\" bgcolor=\"#D9D9D9\">";
echo "[B]DATA[/B]";
echo "</Td>";
echo "<Td width=\"60\" align=\"center\" bgcolor=\"#D9D9D9\">";
echo "[B]RISULTATO[/B]";
echo "</Td>";
echo "</Tr>";
mysql_connect($host, $user_db, $pass_db);
mysql_select_db($nome_db);
$res = mysql_query ("select * FROM cal2009 where squadra='$squadra' ORDER BY id ASC");
while($fetch=mysql_fetch_array($res))
{
echo "<Tr>";
echo "<Td width=\"150\" align=\"center\" bgcolor=\"#D9D9D9\">".$fetch['giornata']."</td>";
echo "<Td width=\"250\" align=\"center\" bgcolor=\"#D9D9D9\">".$fetch['partita']."</td>";
echo "<Td width=\"100\" align=\"center\" bgcolor=\"#D9D9D9\">".$fetch['data_a']."</td>";
echo "<Td width=\"60\" align=\"center\" bgcolor=\"#D9D9D9\">".$fetch['risultato_a']."</td>";
echo "<Td width=\"100\" align=\"center\" bgcolor=\"#D9D9D9\">".$fetch['data_r']."</td>";
echo "<Td width=\"60\" align=\"center\" bgcolor=\"#D9D9D9\">".$fetch['risultato_r']."</td>";
echo"</tr>";
}
echo "</table>";
?>