Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/07/2010, 15:14
Avatar de carlos_belisario
carlos_belisario
Colaborador
 
Fecha de Ingreso: abril-2010
Ubicación: Venezuela Maracay Aragua
Mensajes: 3.156
Antigüedad: 14 años
Puntos: 461
Respuesta: Lista de arreglo de PHP

Cita:
Iniciado por enriqueBr Ver Mensaje
<SELECT name="grupo">
<?php
while($row = mysql_fetch_array($result)){

echo "<OPTION value='$row'>".$row."</OPTION>";
}

?>
</SELECT>
</html>
[/php]

No me muestra el id_grupo.. Sino solo array array.
debes poner el indice ya que el row es una variable tipo arreglo deberia de ser asi
Código PHP:
<?php
while($row mysql_fetch_array($result)){

    echo 
"<OPTION value='".$row['usuarioGru ']."'>".$row['usuarioGru ']."</OPTION>";
}
    
?>