The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have a multi-dimensional array of data which I am passing into my template, and I want to go through each "level 1" of the array and process that "level"'s child arrays.
Here's the code extract: Code:
<vb:each from="appearance_stats" key="season_id" value="season"> <div> <table cellspacing="0"> <tr> <th>Competition</th> <th>Appearances</th> <th>Goals</th> <th>Yellow</th> <th>Red</th> </tr> <vb:each from="season.season_data" key="competition_id" value="competition"> <tr> <td>{vb:raw competition.competition}</td> <td>{vb:raw competition.starts} ({vb:raw competition.subs})</td> <td>{vb:raw competition.goals}</td> <td>{vb:raw competition.yellows}</td> <td>{vb:raw competition.reds}</td> </tr> </vb:each> </table> </div> </vb:each> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|