while($row=mysql_fetch_array($result))
{
$file=$row[titolo];
echo '
';
echo "$row[id]"."$file";
echo '<form action="vota.php" method="post">';
//$id=$row[id];
$id=1;
//Si puo annidare due tag <?php ???
echo '<input type="hidden" name="id" value="<?php echo $id; ?>" />';
echo '<input type="submit" name="voto" value="Vota la canzone" ></form>';
}
Il valore 1 nn viene passato
$chiave=$_POST['id'];