![]() |
Getting PHP to load in side bar?
I have the following PHP code:
Code:
<?php How would I go about doing this? |
you put this code into a plugin with hook global_start for example but without echo $html;
then you can put $html into the the template where it should be shown |
I would use another variable name instead of $html since vB might use that somewhere. (I know they use $HTML in the UserCP so you could get conflicts. Go with something more descriptive but still short. ;)
|
ragtek,
Worked just like a dream - thanks so much! --------------- Added [DATE]1193243392[/DATE] at [TIME]1193243392[/TIME] --------------- Opserty, I will change the variable as well then! |
All times are GMT. The time now is 03:36 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:
|