Buenas, estoy siguiendo los pasos de un manual de php y llegué a un ejercicio que consiste en un formulario para nombre y email. Cuando le das a enviar la información contenida en las variables del formulario deberian imprimirse según el script php de más abajo, pero no lo hacen. Aqui:
Código:
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Procesando datos con un formulario</title>
</head>
<body>
<p> </p>
<form method="post" action="ejemplo6.php">
<table border="0" cellspacing="0">
<tr>
<td colspan="2">Por favor complete el siguiente formulario</td>
</tr>
<tr>
<td width="168" align="right">Nombre y apellido:</td>
<td width="343"><input type="text" name="nombre" size="29"></td>
</tr>
<tr>
<td width="168" align="right">E-mail </td>
<td width="343"><input type="text" name="e_mail" size="29"></td>
</tr>
<tr>
<td width="168"></td>
<td width="343"><input type="submit" value="Enviar" name="B1"></td>
</tr>
</table>
</form>
</body>
</html>
<?php
echo "Su nombre es: <b>$nombre</b> y su dirección de email es: <b>$e_mail</b>" ;
?>