I have an array
Array
(
[0] => Array
(
[id] => 32
[type] => 4
)
[1] => Array
(
[id] => 51
[type] => 9
)
..
..
..
..
..
[84] => Array
(
[id] => 51
[type] => 9
[cnt] => 1180
)
)
And i need to find value of [cnt] in my array, which lies only in one index of my entire array. The index of [cnt] is not constant.
You need to loop over while array.
Value 1180 is in key
{$key}.If smarty has something like
break, you can add it intoifcondition.EDIT:
If you need to find value of
cnt, it should be: