How the hell do I do this?

Discussion in 'PHP' started by Twan, Jul 12, 2006.

  1. #1
    I want to have my navbar in a PHP file, and then just link to the file on all my pages, instead of having to edit 25.

    How would I do this?
     
    Twan, Jul 12, 2006 IP
  2. stymiee

    stymiee Peon

    Messages:
    427
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #2
    include() .
     
    stymiee, Jul 12, 2006 IP
  3. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #3
    <?php
    include("navbar.php3");
    ?>
    PHP:
     
    mad4, Jul 12, 2006 IP
  4. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #4
    .php3? That a bit old innit?
     
    T0PS3O, Jul 12, 2006 IP
  5. ServerUnion

    ServerUnion Peon

    Messages:
    3,611
    Likes Received:
    296
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It only runs on servers with the old dorito chip
     
    ServerUnion, Jul 12, 2006 IP