![]() |
Executing php code in templates from non-vb page
I'm sorry to have to ask for help but I've been searching the forums for an hour and haven't found my answer yet. I know this is really simply to do but yet I can't do it...I feel sad :disappointed:
EVERYONE here tells you how to make an external file integrateable with vb and use a template to show the info... this is good but not what I need. THIS is what I need: I have an external file, lets say test.php I have added a template called test The page displays with all vb functions enabled and I can edit the template and add new code. HOW do I execute php code from that file in the template? Obviously I can't use php code in the template itself.... so how do I make a $runtestfile call from the template to execute a block of php code in the test.php file? Here is the code: PHP Code:
I just want to be able to add a simply $somthing in the template to execute that specific code in the test.php file. I've tried the phpinclude_start template but then the vb functions are gone and so is all the formatting and the page ends after the $header is called in the test.php file... I'm so confused and frustrated - please help me get some sleep :o |
All times are GMT. The time now is 05:00 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:
|