FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Question

 


gh0strec0n_legit
On some websites I see people with PHPBB forums that when you go to the forums you still have the header on top that is like the header on the homepage. How the heck do i do this lol, sry for the noob question.
lastlegion
The headers are kept in seperate files eg - header.inc and then they are called on everypage using the include or require function.

Example
Code:

<?php
include("header.inc");
?>


Will call out header.inc
Stubru Freak
gh0strec0n_legit wrote:
On some websites I see people with PHPBB forums that when you go to the forums you still have the header on top that is like the header on the homepage. How the heck do i do this lol, sry for the noob question.


So you should find header.inc and put the HTML you want in it, and it will appear on every page.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.