1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[PHP Help] Code Not Showing Up

Discussion in 'General Programming Chat' started by PersiaGrai, Mar 25, 2014.

  1. PersiaGrai

    PersiaGrai Junior Member

    Joined:
    Oct 20, 2013
    Messages:
    148
    Likes Received:
    15
    So i have a question for you coders? So i had a landing page built, the landing page contains a referral script. the individual that made it was installing it, but when we saved it and visited the page, none of the code shows up. When you go to "view source code" you can only see the code for the landing page, nothing else. But when you go to code editor it shows the complete code. Has anyone had this problem or can you think of what the deal is? I'm using GoDaddy, im not sure if that makes a difference? but he said it was working fine on his server.


    Thanks in advance
     
  2. MrBlue

    MrBlue Senior Member

    Joined:
    Dec 18, 2009
    Messages:
    974
    Likes Received:
    680
    Occupation:
    Web/Bot Developer
    PHP code runs server side. You will never see any of it when viewing the pages' source code via the browser.
     
  3. rodvan

    rodvan Jr. VIP Jr. VIP

    Joined:
    Jul 27, 2010
    Messages:
    1,321
    Likes Received:
    505
    Occupation:
    developer, marketing, automation, machine learning
    Location:
    Wizard of Bots
    Home Page:
    Indeed..
    But the important thing here is that you can check the error_logs inside the same folder where you have the PHP.
    If you dont have them activated ask your hosting provider for support on how to activate them.
    Hope this helps to everyone with common PHP problems.