![]() |
Template help
Ok i'm having a bit of a problem. I tried to make my own template function to call my templates for my website where here is what I got:
The gettemplate function: PHP Code:
PHP Code:
Could anyone help me on why when I call the templates they arn't showing up? |
Well I figuare I would post an update on what I have done so far. I have ran a small test script that would insure that the templates where there and it worked and it did exactly what I wanted it to do. So I guess my problem is the function which is above.
|
This should work fine:
PHP Code:
PHP Code:
PHP Code:
|
Either echoing it our directly or the other way worked and I can't seem to find out why? Do I have php setup wrong maybe? Could someone please help.
|
I don't get it, what are you trying to figure out? So please clarify.
You have a solution to your template problem, what does it have to do with the setup of PHP? |
The solution you gave didn't work. So I need another solution. I remeber one time I had a switch statement that didn't work because register_globals was turned off so I thought that maybe this or someone other set-up variable was causing my problems but I think I got an answer over at sitepoint.
Thanks anyways! |
All times are GMT. The time now is 08:15 PM. |
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:
|