The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|