Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/04/2005, 14:22
Avatar de cdavid_00
cdavid_00
 
Fecha de Ingreso: septiembre-2004
Ubicación: La Gran Tenoch
Mensajes: 124
Antigüedad: 19 años, 7 meses
Puntos: 1
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???
__________________
"Cuanto más grande es el caos, más cerca está la solución"
"Toda ciencia tiene de ciencia, lo que tiene de matemática"