The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
FOREACH function for dummies
Help jog this dummy's memory please
Code:
Array ( [15] => Array ( [0] => Array ( [id] => 2 [name] => Tim ) [1] => Array ( [id] => 4 [name] => karl ) } [18] => Array ( [0] => Array ( [id] => 13 [name] => max ) } } I want to find out the details of the first element of the main array ( [15] ) using a foreach statement, how would I do it ? PHP Code:
However I only want (Tim and Karl printed). How can I amend the above code ? Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|