Pongo el codigo html
Código HTML:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<TITLE>Auto Partes Bob</TITLE>
</head>
<body>
<h1>Auto Partes Bob</h1>
<h2>Orden:</h2>
<form action="procesaOrden.php" method="POST">
<table border="0">
<tr>
<td bgcolor="Gray" width="150">Producto</td>
<td bgcolor="Gray" width="15">Cantidad</td>
<tr/>
<tr>
<td>Neumaticos<td/>
<td><input type="text" name="numLLantas" size="3" maxlength="3" /></td>
</tr>
<tr>
<td>Aceite</td>
<td><input type="text" name="numAceite" size="3" maxlength="3" /></td>
</tr>
<tr>
<td>Bujias</td>
<td><input type="text" name="numBujias" size="3" maxlength="3" /></td>
</tr>
<tr>
<td><input type="submit" value="Enviar Orden" /><td/>
</tr>
</table>
</form>
</body>
</html>
y ahora el sencillo scrpt php
Código:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Orden Procesada<title/>
</head>
<body>
<h1>Auto Partes Bob</h1>
<h2>Resultado de la Orden:</h2>
<?php
echo '<p>Orden procesada con exito el ';
echo date('H:i, jS F');
echo '</p>';
?>
</body>
</html>
Como pueden ver no creo que sea un error en el código, es un ejemplo muy sencillo pero porque no ldespliega la página procesada pero si puedo ver el codigo fuente???