Menu

How to view index.php in html code ?

2008-02-22
2012-11-13
  • Nobody/Anonymous

    Hi,

    I would like to make some changes over my web site,however,it's in php file (index.php)which I not familar with it.

    Please advice the following by using notepad++ :

    1 ) How to convert a document index.php file to html file in order to make changes in html format ?

    2 ) After the changes,how to reverse it back to php file ?

    3 ) In general,please advice the procedure in detail for viewing index.php in html code in order to carry out the changes in html format.After the changes,how to restore it back to index.php ?

    Thank you.

    Best regards
    Manicui

     
    • Nobody/Anonymous

      Sounds like you are very familiar with HTML. In that case, you should have no problem editing the PHP file. The HTML in the document is already formatted in HTML. Also, Notepad++ highlights all the HTML tags the same if it's a .html or .php extension. So simply saving the file as either extension will make no difference.

      Edit it as is, just keep your changes to the HTML parts your familiar with.

      James

       
MongoDB Logo MongoDB