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

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

WBOY
WBOYOriginal
2016-06-13 11:49:48912browse

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 />


这段代码执行之后



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

<br>	'TMPL_L_DELIM'          =>  '    'TMPL_R_DELIM'          =>  '}>',            // 模板引擎普通标签结束标记<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