Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2008
    Location
    Blackpool, UK
    Posts
    176
    Thanks
    4
    Thanked 0 Times in 0 Posts

    WAMP2 PHP Code is showing in Source Code..Help

    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 Code:
    <?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

  • #2
    Regular Coder
    Join Date
    Jul 2008
    Location
    Blackpool, UK
    Posts
    176
    Thanks
    4
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •