Solved: Importing html?

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Saikuron

Thread Starter
Joined
Sep 17, 2008
Messages
21
Scenario: I have 30+ pages (html), each with a top menu navigation. If I want to add a button to the navigation, I would have to do it for each of the the 30+ html pages.

Is there a way I can have the navigation in a separate file and include it in all my pages? (then I would only have to change one file)

Or what would be the best way to do this? :(
 
Joined
Mar 23, 2008
Messages
103
Use an external style sheet and use PHP to include the HTML in every page as well. You'll have to append .php to all your files and here's a tut on PHP include().
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top