php - Dynamic keys in fat-free framework -
in order access array has been created in php script on html page, {{@somearray['somevalue']}}
.
how deal situation key ('somevalue'
) obtained other array {{@someotherarray['someotherindex'}}
( i.e. value @ {{@someotherarray['someotherindex']}}
= somevalue
)?
i using f3 version 2.1.x.
this has been fixed in 3.x , doesn't work in 2.x.
syntax in 3.x is: {{@arr1.@arr2.@field}}
Comments
Post a Comment