
21/10/2004, 10:14
|
| | Fecha de Ingreso: abril-2004 Ubicación: Madrid
Mensajes: 159
Antigüedad: 20 años, 11 meses 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í. |