search

Home  >  Q&A  >  body text

How multidimensional arrays are rendered in views

[5] => array(3) { ["id"] => int(5) ["title"] => string(24) "Ground resistance testing equipment" ["chanping"] = > array(5) { [0] => array(2) { ["fid"] => int(5) ["title"] => string(30) "Multifunctional ground resistance tester" } [1] => array(2) { ["fid"] => int(5) ["title"] => string(21) "Ground resistance tester" } } [2] => array (2) {                                                                                                                                                                                             ; fid"] => int(5) ["title"] => string(39) "Water-cooled generator insulation resistance tester" [4] => array(2) { ["fid"] => int(5) ["title"] => string(39) "Insulation resistance tester for water-cooled generator" } } }

无稽之憳无稽之憳1752 days ago1123

reply all(2)I'll reply

  • 无稽之憳

    无稽之憳2020-06-08 09:20:19

    This is the data assembled in the backend. This is a multi-dimensional array. How to render it?

    reply
    0
  • WJ

    WJ2020-06-08 09:15:39

    Backend $this->assign() front-end uses <volist>

    reply
    0
  • Cancelreply