...

View Full Version : WAMP2 PHP Code is showing in Source Code..Help



winnard2008
03-18-2010, 11:48 AM
Hi Guys,

I have just installed WAMP2 Server for a local testing environment. Everything installed fine, except I have just added a simple line of code into a page and it is showing the php tags and code in the source code when i view in the browser.

Here it the code I entered



<?PHP
echo '<p>Your Order Processed</p>'; ?>


When you view in the browser is looks like this

Your Order Processed';?>

Does anybody know what I have to do to correct this? I don't want it showing up in the source or the browser, even if it is only local.

I have not touched any settings in WAMP2 so it is out of the box.


Any help would be great as this is annoying me. And google seems to offer no suggestions.


Cheers

Dan

winnard2008
03-18-2010, 11:58 AM
Hi Guys,

Managed to sort the issue.

Basically it was Dreamweavers fault. It wasn't directing the page to the correct place when I was viewing in browser.

So now problem SOLVED.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum