Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/03/2016, 09:04
Avatar de xfxstudios
xfxstudios
 
Fecha de Ingreso: junio-2015
Ubicación: Valencia - Venezuela
Mensajes: 2.448
Antigüedad: 8 años, 10 meses
Puntos: 263
Respuesta: Resultados de consulta en textfield

Prueba Así:

Código PHP:
Ver original
  1. $sql="SELECT * FROM mitabla";
  2. $rs=mysqli_query($cn, $sql);
  3. while{$row=mysqli_fetch_array($rs);
  4. $dato=$row['campo1'];
  5.  
  6. echo "<input type='text' name='caja[]' value='".$dato."' />";
  7.  
  8. }
__________________
[email protected]
HITCEL