Jump to content

Recommended Posts

I thought I was doing well when I took the time to get a couple of books on CSS.  I thought, "oh, I don't even want to know what all that php sql business is."  I'm just barely starting to see, however, that php might make my life a lot easier.  I promise to get a book and to go through all the tutorials to properly learn it.  Meanwhile, however, I'm about to add a major section to my site this weekend and it would be easier if I understood a couple of things.  Please bear with me as I ask the most basic of questions.

 

I plan to use php to put the same navigation menu on all of my pages.  I have found a code in a forum that will allow me to do this.  I have confirmed that my provider allows php.  I understand that the file containing my menu must be saved as a php file rather than htm.  I also understand (correct me if I'm wrong) that all the pages into which the menu will be inserted must also have the php extension.  Essentially this means I will be changing all of my file extensions from htm to php.

 

The question is:  Will I have to re-link all of my pages?  All of my pages, for example, have a link to "home.htm"  Would I need to go through and change them all to link to "home.php"?  Or, when the php parsing does its thing, does it take care of this for me -- reading all php files as htm?  (For some reason I do not remember, I chose to make all my files htm instead of html extensions.)

 

Thanks and I'm sorry for such a silly little question.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.