最佳答案
{section name=sec loop=$obj} {section name=subsec loop=$obj[sec]} {$obj[sec][subsec]} {/section} {/section}
--------------------------------------------————————————————————php
<table>html {section name=sec loop=$obj} <tr> {section name=subsec loop=$obj[sec]} <td>{$obj[sec][subsec]}</td> {/section} </tr> {/section} </table> |