Home  >  Article  >  Backend Development  >  smarty 循环,该怎么解决

smarty 循环,该怎么解决

WBOY
WBOYOriginal
2016-06-13 12:48:31830browse

smarty 循环

<br>
Array<br>
(<br>
    [0] => Array<br>
        (<br>
            [title] => testtile<br>
           <br>
            [advantage] => 三三四四<br>
            [fault] => 三三四四<br>
            [rank] => 4<br>
            [time] => 1364364088<br>
            [pic] => Array<br>
                (<br>
                    [0] => ../../i/uploadpic/1364367652985664.gif<br>
                    [1] => ../../i/uploadpic/1364367662409433.gif<br>
                    [2] => ../../i/uploadpic/1364367672711762.gif<br>
                    [3] => 0<br>
                    [4] => 0<br>
                )<br>
<br>
        )<br>
<br>
    [1] => Array<br>
        (<br>
            [title] => 晒单测试1111111<br>
   <br>
            [advantage] => 晒单测试1111111<br>
            [fault] => 晒单测试1111111<br>
            [rank] => 5<br>
            [time] => 1364364271<br>
            [pic] => Array<br>
                (<br>
                    [0] => ../../i/uploadpic/1364367652985664.gif<br>
                    [1] => ../../i/uploadpic/1364367662409433.gif<br>
                    [2] => ../../i/uploadpic/1364367672711762.gif<br>
                    [3] => 0<br>
                    [4] => 0<br>
                )<br>
<br>
        )<br>
<br>
)<br>
<!--{foreach from=$evaluate item=comment}--><br>
    <!--{foreach from=$comment.pic item=child}--> <div class="clear">
                 
              
              
        
            </div>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn