Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

ghost's Avatar
0 0

im working on my own cms and im making a global template using css and php.

my question is how do i make a php script(which is the template such as the banner, side panels and footer) global.

meaning that instead of coding it over and over into everypage. is there a way to integrate it into the css so it shows up automatically on every page.

its hard to explain but i tried to make the question as clear as possible.


ghost's Avatar
0 0
include (header.php);

ghost's Avatar
0 0

yes but is there a way to include the side menus on each of the pages, and only have the main body in the middle change content.


ghost's Avatar
0 0

You need to learn about master pages and, subsequently, PHP. If you happen to hit up Google for the knowledge, you'll find what you're looking for. biggnick was helping you along the correct path, although his comment about tables could just as easily refer to divs, too.