FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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.
Related topics
I Have a question . Is it the server support Chinese?
Question before requesting free hosting
question abt posts/mth
Kinda dumb question regarding DNS
A question
UT2004 U like the game? Do u have any question post here.
Question about DNS!
Question about Domain!
another uni.cc question
Question
Question abt lang. support...
question!!!!!!
A question about Naruto
C++ Question
PHPBB2 Question. (What MOD makes the featured announcements?
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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