Q
Q
Qurel2020-03-04 21:25:05
Smarty
Qurel, 2020-03-04 21:25:05

Smarty: how to loop through an array of objects?

There is an array of phones in smart, how to display phone numbers in a loop.
Here is the array:

phone => "[{"number":"+38(050)222-56-22"},{"number":"+38(050)222-56-23"},{"number":"+38(050)222-56-23"}]"

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question