Can someone provide a simple demo? I can't seem to get my head around the smarty syntax for iterating over an array that looks like the one below. I want to get at values at all levels.
Array
(
[0] => Array
(
[id] => 0
[name] => 12312
[sub24] => Array
(
[0] => Array
(
[classid] => 157
[classname] => 24011010
)
[1] => Array
(
[classid] => 170
[classname] => 24011020
)
[2] => Array
(
[classid] => 183
[classname] => 24011030
)
)
[sub23] => Array
(
[0] => Array
(
[classid] => 60
[classname] => 23011010
)
[1] => Array
(
[classid] => 73
[classname] => 23011030
)
[2] => Array
(
[classid] => 85
[classname] => 23012030
)
)
[sub22] => Array
(
[0] => Array
(
[classid] => 1
[classname] => 22011010
)
[1] => Array
(
[classid] => 13
[classname] => 22012010
)
[2] => Array
(
[classid] => 24
[classname] => 22012020
)
)
)