CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   Looking for a way to import a block of code? (http://www.codingforums.com/showthread.php?t=286264)

aleo1203 01-23-2013 12:59 AM

Looking for a way to import a block of code?
 
I have a group of navigational links at the bottom of all my web pages and whenever I create a new page I have to go through all pages and add the new page to the list of links. Is there a way to have one file or block of code to edit to which all the pages will refer to?

Excavator 01-23-2013 01:40 AM

Hello aleo1203,
You're looking for a server side include of some sort. I like this example - http://www.tizag.com/phpT/include.php

edda0199 01-23-2013 01:58 AM

Quote:

Originally Posted by Excavator (Post 1308060)
Hello aleo1203,
You're looking for a server side include of some sort. I like this example - http://www.tizag.com/phpT/include.php

Maybe I need it, too. Thank you very much!!

:thumbsup::D

aleo1203 01-23-2013 12:44 PM

Thank you very much!

jerry62704 01-23-2013 02:13 PM

Edda and Aleo, when someone answers your question and you feel it is an appropriate answer you might want to click the green "Thank User for this post" button. I can't speak for everyone, but a lot of us do appreciate the "atta boy" <g>


All times are GMT +1. The time now is 07:36 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.