Ver Mensaje Individual
  #6 (permalink)  
Antiguo 31/12/2007, 09:51
Avatar de El_Metallick
El_Metallick
 
Fecha de Ingreso: noviembre-2002
Ubicación: Santiago, Chile
Mensajes: 1.718
Antigüedad: 21 años, 5 meses
Puntos: 16
Re: poner values en 1 formulario de una db

me refiero a agregar un campo al form algo asi:

Código:
<form action="upload.php">
  <input type="hidden" name="id" value="<?= $row['id'] ?>" />
  <input type="text" name="titulo" value="<?= $row['titulo'] ?>" />
  <input type="text" name="contenido1" value="<?= $row['contenido1'] ?>" />
  <input type="text" name="contenido2" value="<?= $row['contenido2'] ?>" />
  <input type="text" name="contenido3" value="<?= $row['contenido3'] ?>" />
  <input type="text" name="contenido4" value="<?= $row['contenido4'] ?>" />
</form>
saludos
__________________
Haz la guerra en la cama y el amor donde se te de la gana...
El tiempo es el mejor maestro, lo único malo es que te mata...¡¡Aprovecha tu tiempo!!