help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have been away from my computer for many months and thus, have forgotten many of the php basics.
 
I'm trying to get "back into the swing of things" and the problem I'm having is that my php code is not being parsed. Instead, its being treated like HTML and the code just shows up on the screen.
 
I installed SWAMP, so everything works together and should be working fine- tests do confirm this. Here is my code:
 
<html>
<head>
   <title>S2Design - Order Results</title>
</head>
<body>
<h1>S2Design</h1>
<h2>Order Results</h2>
<h2>Order processed.</h2>
<?
echo "<p>Order processed at ";
echo date("H:i, jS F");
echo "<br>";
echo "<p>Your order is as follows:";
echo "<br>";
echo $_POST["luminaireqty"]." Luminair light<br>";
echo $_POST["coffeeqty"]." coffee tables<br>";
echo $_POST["hallqty"]." hall table<br>";
?>
</body>
</html>
 



----------------
"forget your lust for the rich man's gold. All that you need, is in your soul. You can do this if you try. All that I want for you my son, is to be satisfied"

  ~ Lynard Skynard

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux