Reputation: 2207
In order to access an array that has been created in a php script on an html page, we do this {{@somearray['somevalue']}}
.
How do we deal with a situation where the key ('somevalue'
) is to be obtained from some other array {{@someotherarray['someotherindex'}}
( i.e. the value at {{@someotherarray['someotherindex']}}
= somevalue
)?
I am using F3 version 2.1.x.
Upvotes: 0
Views: 251
Reputation: 4690
This has been fixed in 3.x and doesn't work in 2.x.
Syntax in 3.x is: {{@arr1.@arr2.@field}}
Upvotes: 3