WEB Question on Website Coding

Discussion in 'OT Technology' started by Drifter87, Apr 15, 2008.

  1. Drifter87

    Drifter87 Yippi-kay-ay, Motherfucker

    Joined:
    Jan 5, 2005
    Messages:
    7,173
    Likes Received:
    0
    This is for a personal website, but I remember their being some code that I could on a separate page design a navigation bar, and then pop this code into every page I wanted the navigation bar to be on. Then if I wanted to update the navigation bar, I would just edit the nav bar page and all the other pages would then point to the new nav bar.

    So am I insane or is there some code I just forgot that does this? I believe it was php, but not really sure, its been sometime.
     
  2. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,918
    Likes Received:
    10
    Location:
    Los Angeles
    Code:
    <?php include('navigation.php'); ?>
     
  3. Drifter87

    Drifter87 Yippi-kay-ay, Motherfucker

    Joined:
    Jan 5, 2005
    Messages:
    7,173
    Likes Received:
    0
    :bowdown:


    I am becoming more of a Network & Systems Administrator because of my major, so I am becoming rust with my web design skills.

    Thanks again! :h5:
     

Share This Page