![]() |
|
|
Thread Tools |
|
#1
|
||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
|
[TEMPLATE SYNTAX] vb:each from piece of an array
I have an array:
I then render a template:
In my template I can use this code fine:
But this template code would give me an error:
The error that I get is:
Does anybody know what would be the correct syntax to use for this (from="binary.groups" is probably incorrect)? Or have I found a vBulletin bug? --------------- Added 12 Dec 2009 at 22:11 --------------- I figured this out. I must use this:
(from="binary['groups']" instead of from="binary.groups") Just incase anyone is wondering, or searching for the same answer. Thanks to whoever looked. --------------- Added 12 Dec 2009 at 22:17 --------------- That info also comes in handy if you're trying to use any arrays inside of a curly bracket. For example:
__________________
No members have liked this post.
Last edited by rossco_2005 : 12 Dec 2009 at 22:17. Reason: Auto-Merged DoublePost |
||||||||||||||||||||||||||||
|
#2
|
||||
|
||||
|
THank ya.
I thought it was dot syntax, too, heh. Anyone know why it's not? No members have liked this post.
|
|
#3
|
||||
|
||||
|
No members have liked this post.
|
|
#4
|
|||
|
|||
|
This post has helped me a lot of times. (I keep forgetting
)No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 15:44.



)
