![]() |
A question about PHP include
I noticed in some mods that use PHP include that there is a code to make it so when you enter something like $modname it displays the HTML from a templete. How do I do this in phpinclude? Can I just have a template that says things like $YOURVARIABLE I can replace?
thanks |
Install PAPI (link in my sig) and use this:
PHP Code:
Then use $variablename wherever you want templatename to appear. |
thanks alot!!!
This will make orginizing my templates much eassier :) |
errr it says its a call to unidentified function maketemplatecode or wahtever the function was. I installed the PAPI to :\
|
makeevaltemplatecode
|
lol I know
I just copied and pasted the code you gave me replacing the template name and variable name |
In that case I should spell correctly:
PHP Code:
|
lol k thanks :)
|
All times are GMT. The time now is 04:19 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:
|