Dynamic Navigation Include


- Cut out the navbar div and paste it into a new document, then save it as navbar.php.
- Add the dynamic PHP code on the left between the "a" and "href" HTML code for each li in the navigation. Insert the page titles where they are called for.
- Insert the navbar.php Include into index.php and any other pages you will be creating.
Back