Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/04/2007, 09:03
alejoluc
 
Fecha de Ingreso: febrero-2004
Mensajes: 138
Antigüedad: 20 años, 3 meses
Puntos: 2
Re: como poner valor en el input

Código PHP:
/*Conexión a tu BD y selección de la misma*/

$sql mysql_query("SELECT `_CAMPOS_`,`_CAMPOS_` FROM `_TABLA_` WHERE `ESTO` = 'LO_OTRO'");
$row mysql_fetch_row($sql);
echo 
"<input type='text' value='$row[0]' />"
¿A eso te referís?
__________________
De mucho estudiar nadie se murió, pero mas vale no arriesgarse