Location: PHPKode > scripts > PHP Template Engine > thinkphp-php-template-engine-1169586/demos/basic/templates/body.tpl.php
<table>  
    <tr>  
        <th>Id</th>  
        <th>Name</th>  
        <th>Department</th>  
        <th>Email</th>  
    </tr>  
    <?php foreach($users_list as $user) { ?>  
    <tr>  
        <td align="center"><?php echo$user['id'];?></td>  
        <td><?php echo$user['name'];?></td>  
        <td><?php echo$user['department'];?></td>  
        <td><a href="mailto:<?php echo$user['email'];?>"><?php echo$user['email'];?></a></td>  
    </tr>  
    <?php } ?>  
</table>
Return current item: PHP Template Engine