Ver Mensaje Individual
  #17 (permalink)  
Antiguo 26/01/2013, 11:40
tony_la09
 
Fecha de Ingreso: julio-2012
Mensajes: 22
Antigüedad: 11 años, 9 meses
Puntos: 3
Respuesta: Actualizar Múltiples Registros Php y Mysql

Con el siguiente codigo haces todo tranquilo_8925

Código PHP:
Ver original
  1. echo "<table>";
  2. while ($fila = mysql_fetch_array($resultado))
  3. {
  4. echo "<td><input type='hidden' name='id[]' value='" . $fila["id"] . "'/></td>";
  5. echo "<tr>";
  6. echo "<td><input type='text' name='nombre_[]' value='" . $fila["nombre"] ."'  size='20'></td>";
  7. echo "</tr>";
  8. }
  9. echo "</table>";

ya solo bastaria que agregues el codigo de actualización en otro fomulario.