Hello, everyone. Now I have such a problem.
in controller, there is the code $this- > photos = $results;, which is a two-dimensional array.
then in the template file html, there is code < {$photosindex} >, where index is a variable of js code.
simply writing this will report that index is not defined, so what can I do to dynamically read the established data elements?
Thank you!