Ver Mensaje Individual
  #5 (permalink)  
Antiguo 21/10/2004, 10:14
herrezuelo
 
Fecha de Ingreso: abril-2004
Ubicación: Madrid
Mensajes: 159
Antigüedad: 20 años
Puntos: 0
<select name="gusto[]" multiple class="combo" size="10">
<?
$str_sql = "select distinct(gusto) as gusto from gustos order by gusto asc";
$cursor = mysql_query($str_sql);
while ($registro = mysql_fetch_array($cursor)){
echo ("<option value='$registro[idgusto]'>".ucfirst(strtolower($registro[gusto]))."</option>");
}
?>
</select>

en el archivo al que llamo

echo gusto[0] pero no saca lo que escogí.