The way i normally do php is, i have my basic HTML page, then i add php to it.

I want to make it more efficient, and have pages with just php, and include the template the way phpbb does.

but i am not sure how it works. help please?