我试图做出一个应该发布并包含来自用户的所有votacoes的选择
<select name="votacao" size="1">
<option>
<?php
$sql = "SELECT nome_votacao FROM votacoes WHERE user_id = $_SESSION['id']";
$rs = mysql_query($sql);
while($row = mysql_fetch_row($rs))
echo $row['nome_votacao'];
?>
</option>
</select>