Skip to main content
Inspiring
January 25, 2019
Answered

Code is showing up on my website. How do I remove it?

  • January 25, 2019
  • 3 replies
  • 1043 views

I would appreciate some help. I am not a web designer or developer. I have been thrown into looking after my website since my guy quit. I have made some changes on Dream Weaver to my website without problems. But the Contact page would not load the changes I made. It's the only page that has html and a php files. The changes on the html wouldn't load. So I tried the php file. Mistake. Now the page shows the code and the toll free number I was trying to remove is still there. Plus when I go back to html it won't load now. Ideas? Career change? Thanks.

    This topic has been closed for replies.
    Correct answer marthac15941951

    I hope for your sake you have a back up copy of the original contact.php file someplace.


    Problem solved. Thanks so much for responding and your help.

    I'll be more careful about copying the info before I make changes.

    Have a great weekend!

    Martha

    On Fri, Jan 25, 2019 at 4:23 PM Martha Cameron <marthacameron081@gmail.com>

    3 replies

    Inspiring
    January 26, 2019

    Problem has been solved. Thanks to those offering help.

    Have a great weekend!

    Nancy OShea
    Community Expert
    Community Expert
    January 25, 2019
    Nancy O'Shea— Product User & Community Expert
    Inspiring
    January 25, 2019

    Thanks Nancy but I don't know enough about coding to find the mistakes. I have now got it to where the site shows the contact page as php but if I manually change it to html the page is correct. cancunziplinetours/contact.html . But if you close and reopen the site it is automatically php and shows code. cancunziplinetours/contact.php . My question now is how do I get the site to use the html code on the Contact page and not the php code. If I can do that all will be fixed. Thanks.

    Nancy OShea
    Community Expert
    Community Expert
    January 25, 2019

    HTML forms don't do anything.  They require scripts to gather and process form data.  If your contact form contains PHP code, then the whole page must be saved with a .php file extension.

    Can you copy and paste the entire contact.php code into a forum reply?   Don't use e-mail, it won't come through.

    Nancy O'Shea— Product User & Community Expert
    Legend
    January 25, 2019

    For anyone to be able to help you they would need to see the code the page is currently using.

    Inspiring
    January 25, 2019

    I should post the code online?