Using <? include 'header/footer.php'; ?> instead of Template function in Dreamweaver.
I am new to PHP so please excuse me if my question seems too stupid to u. :p I used to be using Dreamweaver's template function to all my websites, but I found that sometimes Template can be very hard to contral, and sometimes it has unexpected activities.
So i decided to include a header.php and a footer.php file to achieve the same result, which is to have a consistant layout throughout the site and it is share to all files.
Everything works well, I had upload the site....BUT when i view the source code, i fugure i had 3 sets of <head> and <body> tag. One for the hearder.php, one for footer.php and one for content.php....is it suppose to be like that? please advise? it still works, but i was just wondering will it slow down the loading time or if someone can provide me a solutions, that would be great !!! 😃
many thanks
check out the case at [URL=http://]http://www.pattisonhighschool.com[/URL]