![]() |
Better template eval'ing
PHP Code:
PHP Code:
|
Okay, I added this to the beginning of the function:
PHP Code:
Is there some way to make a function always modify global variables instead of local ones while at the same time not having to type global $varname; for each one? |
you can just do something like:
PHP Code:
|
Hmm, good point, although I'd prefer something function-based for simplicity.
I searched on php.net for a way to basically ignore variable scope in functions and make every variable global but didn't get anything working. |
All times are GMT. The time now is 06:22 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:
|