| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
I am very much a newbie so I hope this is not a daft question.
My website is small (20 pages) and I wish to include a file into say 15 of the pages not all of them. Can this be done with includes?
Thanks for your time.
[edited by: shug at 2:10 pm (utc) on July 1, 2007]
Yea, go to the files and add a line similar to the following:
Thanks for your reply. Forgive me if I dont grasp this as I am new at this.
So lets say I want the following file included in the first 15 pages but not the last 5.
include("new_file.php"); As I understand it new_file.php will be included in all my pages.
Sorry, The penny has dropped. I understand now.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved