![]() |
How can I include functions that return echo values to my styles?
There are functions that return echo values, how can I integrate them with style where I have a $content variable?
Code:
function sayhello() Code:
eval('$content .= "' . sayhello() . '";'); Code:
$content .= sayhello(); |
Google: "PHP Output Buffering"
|
You would need to use a return() instead of echo.
|
Unfortunately functions I need from adminfunctions.php and adminfunctions_stats.php only return echo values. Is there a way to handle these echo values like returns?
|
You can use these instructions: Including External Files
|
My Skript works, thank you for helping me.
|
All times are GMT. The time now is 01:02 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:
|