Hi everyone,
Hope some one can solve my problem. I'll jump right into it 🙂
I am using the <? include '../header.php'; ?> to achieve a consistant layout throught out the site. I used to use Template function in Dreamweaver to achieve the same goal but found it a bit hard to control and has weird activities sometimes. And the fact that I need to upload every file again had drive me away from it.
So, I tried to use the include function (I did my site using Dreamweaver), everything works fine.....but when I view the source code in the browser, I figure there are 3 sets of <head> and <body> tag. Each for the header file, footer file and the main file. Can anyone tell me why is it like that? Can it be solve? Will it slow down the downloading time?
thanks for your help. If you want to look at the code yourself, pls visit http://www.pattisonhighschool.com
cheers,
yy014