Ver Mensaje Individual
  #1 (permalink)  
Antiguo 27/05/2015, 07:18
rudiaz
 
Fecha de Ingreso: abril-2015
Ubicación: Santiago de Chile
Mensajes: 80
Antigüedad: 9 años, 1 mes
Puntos: 0
Problemas al mostrar datos y agregarlos a la base de datos

Tengo el siguiente código, necesito que se muestre solamente y que no se modifiquen los datos mostrados, si hago que solo muestre los campos no me graba datos, y si los "edito" ahi graba, no se que hacer.

Código PHP:
Ver original
  1. echo("  <td>e-Mail</td>");
  2. echo("  <td><input type=text name=email size=40 value=".$email." maxlength=45 onkeypress=".chr(40)." return tabular(event,this)".chr(40)."></td>");
  3. echo("</tr>");
  4. echo("  <td>Clave Correo</td>");
  5. echo(" <td><input type=text name=clave_correo size=50 value=".$clave_correo." maxlength=55 onkeypress=".chr(50)."return tabular(event,this)".chr(50)." ></td>");

Para ingresar los datos tengo el siguiente código:

Código PHP:
Ver original
  1. $email=$_POST["email"];
  2. $clave_correo=$_POST["clave_correo"];

Atte.