Ragazzi non capisco perchè la select rimane vuota.. Anche se il DB è pieno.. =S Potete aiutarmi ?
<form action="VotataScuola.php" method="post">
Scegli quale scuola votare:
<Select name="elenco" >
<?php
include ("global.php") ;
$comando="select * from scuola inner join votoscu using (CodScu)";
$risultato=mysql_query($comando);
while ($riga=mysql_fetch_assoc($risultato))
{
echo " <option value='$riga[CodScu]'> $riga[Reg] $riga[Prov] $riga[Citta] $riga[Nome] </option>" ;
}
?>
</Select>
</p>
Voto
<label>
<input type="text" name="Voto" />
</label>
</p>
<label>
<input type="submit" name="Submit" value="Invia" />
</label>
</p>
</form>