![]() |
Help calling a template from a php file
I made a special template that has the navbar and a static page.
I want to call this template from a php file This is the code I have thus far: PHP Code:
It works as long as the user is logged in. But when a guest navigates to this php page it says Quote:
How do I fix it so guests can view it also? |
i normally get that header already sent problem when i put html before php stuff
e.g say <? echo "etoh"; header("Location: index.php"); ?> my suggestion would be try moving your style tag ;) |
Quote:
That worked, thanks man. :smoke: |
no problem anytime :)
|
All times are GMT. The time now is 06:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|