
June 14th, 2000, 02:15 PM
|
|
Junior Member
|
|
Join Date: May 2000
Posts: 14
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Hi, I'm working on a web site that has a common header,navigation links, and footer.
I'm thinking of just writing 3 funtions:
function header()
function navigation()
function footer ()
and saving them on a common file (something like functions.php)
Then calling the functions in each page?
Will this affect how fast the web page loads?
Will it take longer for the page to load since it has to get part of the page from another file (functions.php)?
I've read a lot of stuff on templates (www.phpbuilder.com), but I think just using functions will work fine for me since I'm not expecting to do anything too fancy with the page.
Thanks
Mike
|