Re: help!
| From: | Piotr Pluciennik | Date: | Tue, 28 Oct 2003 20:34:10 +0000 |
| Subject: | Re: help! | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21913@lists.php.net to get a copy of this message | ||
Hi,
check in your php.ini if you've got option "short_open_tag" set to On or try to use
full php open tag - "<?php". Check also extension of your php file or if php is
properly configured - try to display
only phpinfo()... sometimes so simple things can help.
HTH
Piotr
Patrick Roane wrote:
> 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