Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/08/2005, 09:32
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
Prueba esto:

Código PHP:
<td bgcolor="#ccffff"">
<select name="opcion" tabindex="4">
<?php
   $result_opcion
mysql_query("select id, opcion from opciones");
   
$num_filas mysql_num_rows($result_opcion);
   if (
$result_opcion && $num_filas>0)
   {
      while(
$row=mysql_fetch_assoc($result_opcion)) 
      {

?>
<option><?php echo $row['opcion']?></option>
<?php
      
}
   }
?>
</select>