![]() |
fetch_template is giving me Call to undefined function
Okay, I'm making a hack and I have some templates that I need to add to the php page, so I'm using the fetch_template function. However when I do this I get this error
Call to undefined function: fetch_template() I'm using something identical to this PHP Code:
Any suggestions? |
Are you including global.php?
and Code:
eval('$main .= "' . fetch_template('main') . '";'); |
use need to use the .(dot)
only if you in some kind of loop (while,foreach) and you want it to save info and not get replaced like if my template is like <tr><td>$value</td></tr> then i will need to use the dot not on regualr use |
Quote:
Thank you for you help, it seems I didn't include global.php. >_< |
All times are GMT. The time now is 03:10 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:
|