The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How would I insert a loop into my template?
How would I insert a loop into a template? Say I'm trying to list the 5 most recent whatevers. Right now I hav a while loop thats like this:
PHP Code:
|
#2
|
||||
|
||||
PHP Code:
|
#3
|
||||
|
||||
I'm wanting to loop $text['message']. For example, I'm trying to loop through all the row's in a particular table and display each row. I'm thinking that's what yours does. Am I correct?
|
#4
|
||||
|
||||
Yes, it loops through and stores each message in the $template variable.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|