The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Foreach in plugin
So I am trying to use a foreach in my plugin and call it in my template with a variable, since my foreach is open it's breaking my product. How can I go about calling a foreach and include it in my template?
My before product, raw php: PHP Code:
so I have my plugin like this (and yes the other variables are defined, this is just where the is) PHP Code:
HTML Code:
$drc_4ch-st <div id="something"> <div class="really"><b>Cool:</b> $drc_rep</div> </div> $drcc_4ch-ed Code:
$drc_rep |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|