Results 1 to 4 of 4

Thread: Problem inserting

  1. #1
    Join Date
    Nov 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Problem inserting

    im pretty n00b when it comes to this....

    i keep on having to edit every single page when i change the html in one page eg add a link i just wondered can anyone help me on giving me a script that will insert a header and footer.

    E.G
    <HEADER>
    the page content of one of my pages
    <footer>

    the script i need is for it somehow to fetch the html need for header and footer i would be grateful of help thanks

  2. #2
    Join Date
    Nov 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    please help ppl

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    What type of pages is your site, for example, .shtml, .php etc? For .shtml, you can use SSI to easily embed the an external file (its contents) onto multiple pages across your site: http://javascriptkit.com/howto/externalhtml3.shtml For PHP, there is a similar function.

  4. #4
    Join Date
    Nov 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok thanks alot m8,
    Last edited by R3M3KiD; 11-30-2005 at 05:19 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •