nabeels786
Nov 28th, 2002, 07:24 PM
Hello all,
I'm currently using a Dreamweaver template for my site, so the header is about 50 lines, and the footer about 50 too.
I was wondering, is it better (ie, uses less bandwidth) to include the header/footer in instead of have the html code repeat each time?
I know it makes it more readable, but other than that, is there an advantage?
<my header code>
...
<my php code>
...
<my footer code>
///or
include("path/to/header");
<my php code>
include("path/to/footer");
Thanks :)
I'm currently using a Dreamweaver template for my site, so the header is about 50 lines, and the footer about 50 too.
I was wondering, is it better (ie, uses less bandwidth) to include the header/footer in instead of have the html code repeat each time?
I know it makes it more readable, but other than that, is there an advantage?
<my header code>
...
<my php code>
...
<my footer code>
///or
include("path/to/header");
<my php code>
include("path/to/footer");
Thanks :)