![]() |
Store function into Variable
I have been messing around with putting a php file into vbulletin. The only way I get that is by storing the output into a variable and call that variable in a template. Now I have a script that cycles through a mysql table and echoes all the info there, and I cant store each on into a variable. I also tired something like
PHP Code:
Is there a way to assign the output of the function to a variable without the function displaying the output? *Sorry, just figured it out, you use ob_start(); and then store the ob_get_contents() to a variable. |
All times are GMT. The time now is 03:52 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:
|