Author Topic: How do you people go about incuding a footer and header in a website?  (Read 421 times)

I have been struggling with copying and pasting all the header and footer code on my websites and it takes alot of space. I don't want to do it using php because I heard it is very ineffective and general bad. How do you people go about doing that?

I just copy and paste or use frames

<footer>Hello world</footer>

<footer>Hello world</footer>
ha ha ha.
i want to use two different files for a footer and header.

okay i have tried js and frames, both of them failed :( ehh i guess ill just copy and paste them then

Code: [Select]
<?php
include('header.html'); ?>

Code: [Select]
<?php
include('footer.html'); ?>

Why don't you just use PHP?

also woah i didn't know SMF formatted code