Ver Mensaje Individual
  #4 (permalink)  
Antiguo 26/10/2009, 17:08
Avatar de luis010182
luis010182
 
Fecha de Ingreso: julio-2009
Ubicación: Argentina - Capital Federal
Mensajes: 382
Antigüedad: 15 años, 7 meses
Puntos: 27
Respuesta: Php en <selec>

Tene falta datos en el sql

Tenes esto:
Código PHP:
<?php  $instruccion mysql_query ("Select nombre From unid_aca");
$cuenta mysql_fetch_array ($instruccion);
while(
$fila1=mysql_fetch_array($instruccion)){
?>
  <option value="<?php echo $fila1['id_uni']?>"><?php echo ucfirst($fila1['nombre']); ?> </option>"; 
<?php
}
Deberias tener esto:
Código PHP:
<?php 
$instruccion 
mysql_query ("Select id_uni,nombre From unid_aca");
while(
$fila1=mysql_fetch_array($instruccion)){
?>
  <option value="<?php echo $fila1['id_uni']?>"><?php echo ucfirst($fila1['nombre']); ?> </option>"; 
<?php
}
espero q t sirva