ThinkPHP学习小记

ID不从1开始

truncate table 你的表名

无法访问

可能保存了带bomutf编码

部署到iis服务器

runtime设定到支持写入的目录

数据不为空显示

<!-- 不等于 -->
<if condition="$result[0]['jiyao_id'] neq null">
    <tr>
        <td style="vertical-align: middle;text-align:center;width: 20%">
            <span><b>机要编号</b></span>
        </td>
        <td class="description">{$result[0]['jiyao_id']}</td>
    </tr>
</if>

1 0转换

<!-- 字符串用'' -->
<if condition="$student.is_searched eq 1">已查询<else/>未查询</if></td>
posted @ 2018-11-28 02:20  冯天祥  阅读(74)  评论(0编辑  收藏  举报