Home > Backend Development > PHP Tutorial > thinkphp 模板有关问题 为何不编译

thinkphp 模板有关问题 为何不编译

WBOY
Release: 2016-06-13 11:49:48
Original
897 people have browsed it

thinkphp 模板问题 为何不编译

<br /><br /> <{if condition="empty($customers)"}><br />            <table class="table_a" border="1" width="100%"><br />                <tbody><br />                    <tr style="font-weight: bold;"><br />                        <td>编号</td><br />                        <td>电话号码</td><br />                        <td align="center"colspan="2"><br />                            <center>操作</center><br />                        </td><br />                    </tr><br />                   <{foreach name="customers" item="customers_one"}><br />                        <tr><br />                            <td><br />                                <{$customers_one.c_id}><br />                            </td><br />                            <td><br />                               <{$customers_one.c_phone}><br />                            </td><br />                            <td><br />                                <a href="">查看</a><br />                            </td><br />                            <td><br />                                <a href="">删除</a><br />                            </td><br />                        </tr><br />                   <{/foreach}><br />                   <br />                </tbody><br />            </table><br />        <{else /}><br />            <tr><br />                <td align="center"colspan="2"><br />                    <center>还没有玩家...</center><br />                </td><br />            </tr><br />        <{/if}><br /><br />
Copy after login


这段代码执行之后



模板开始和结束编辑我改了的

<br>	'TMPL_L_DELIM'          =>  '    'TMPL_R_DELIM'          =>  '}>',            // 模板引擎普通标签结束标记<div class="clear">
                 
              
              
        
            </div>
Copy after login
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template