Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/04/2009, 10:53
Avatar de By_George
By_George
 
Fecha de Ingreso: abril-2009
Ubicación: localhost
Mensajes: 629
Antigüedad: 15 años
Puntos: 19
Respuesta: Error al mostrar las variables

pues solo agregalo en el codigo a como estan las otras

<?php
if (!isset($_POST['codigo'])){
echo "<form name='miFormulario' method='post'>
<input type='text' name='codigo'>
<input type='text' name='nombre'>
<input type='text' name='email'>
<input type='text' name='otrodato'>
.........
<input type='submit' value='Modificar' name='Button'>
</form>";
} else {
echo $_POST['codigo'];
}
?>