...

View Full Version : Looking for a way to import a block of code?



aleo1203
01-23-2013, 01:59 AM
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, 02: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, 02:58 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

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

:thumbsup::D

aleo1203
01-23-2013, 01:44 PM
Thank you very much!

jerry62704
01-23-2013, 03: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>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum