![]() |
eval()
Ok I have a big question that is going to take a little explaining.
I have this code running though an eval function: PHP Code:
The eval function I'm trying to run looks like this. PHP Code:
PHP Code:
|
You can't use PHP in templates, except for declared variables. Though, you could use the phpinclude template, but if you want the current date, it would be a lot easier to just set $today = date(); in the php file, then in the template use $today.
If you want all templates to act like the phpinclude template, I would look at how the phpinclude template is managed in the PHP files... Though, I would just use the following hack: http://www.vbulletin.org/hacks/index...ck&hackid=1200 |
All times are GMT. The time now is 11:17 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:
|