Home   News  Product reviews  Website reviews  Forums   Competitions  Subscribe 


Web Building >> Web design & build

 |  Print Thread
NanookModerator
regular


Reg'd: Tue
Posts: 995
Loc: South East England
Re: minor help with my website please?
      Wed Mar 23 2005 07:04 PM

You can use either SSI or PHP to include a seperate html file.
If you use PHP then the code is

<?php include(page.html); ?>

So save the navigation file (nav.html for instance) and then on each page tell it to include nav.html.

The same applies for SSI, with some different code


Nav.html should not have head, body tags, only the HTML you want to be added to the page it will be included in.
Place either of the above where you want the file to be shown.

*Nanook
http://www.bains007.co.uk

Post Extras Print Post   Remind Me!     Notify Moderator
Rate this thread

Jump to


Entire topic
Subject Posted by Posted on
* minor help with my website please? alykhalil Tue Mar 22 2005 03:36 PM
. * * Re: minor help with my website please? alykhalil   Wed Mar 23 2005 08:44 AM
. * * Re: minor help with my website please? NanookModerator   Wed Mar 23 2005 07:04 PM
. * * Re: minor help with my website please? ianm   Thu Mar 24 2005 12:44 AM
. * * Re: minor help with my website please? predator   Tue Mar 22 2005 08:07 PM
. * * Re: minor help with my website please? alykhalil   Tue Mar 22 2005 09:03 PM
. * * Re: minor help with my website please? NanookModerator   Wed Mar 23 2005 12:14 AM
. * * Re: minor help with my website please? alykhalil   Wed Mar 23 2005 09:09 AM
. * * Re: minor help with my website please? alykhalil   Tue Mar 22 2005 06:04 PM
. * * Re: minor help with my website please? asterix   Tue Mar 22 2005 05:41 PM

Extra information
0 registered and 3 anonymous users are browsing this forum.

Moderator:  putasolutions, Joe_London, greysts, bricat, Nanook, Hello_There, John_McKenna, Mouse, TheFatControlleR 


Print Thread
Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      Mark-up is enabled

Rating:
Thread views: 453

Contact Us | Privacy statement Main website