thinkphp save($data)的返回值 save方法的更新判断失败用 === false来判断, 否则执行都是成功的,只是如果为0 表示没有更新任何记录(就是你说的更新值和原来值相同的情况) ... save($data)的返回值 2016-6-4 thinkphp 热度:12544 评论:0 作者: 菜鸟站长
thinkphp数据库事务例子 1:首先,你的数据表格式得是innodb格式 2: $m=M('user');$m1=M('user_detail');$m->startT... thinkphp事务 2016-6-4 thinkphp 热度:12018 评论:0 作者: 菜鸟站长
php的file_get_contents和curl差距  ... file_get_contents和curl差距 2016-4-22 thinkphp 热度:12046 评论:0 作者: 菜鸟站长
ThinkPHP模板中判断volist循环的最后一条记录的验证方法 <div class="bannercxk1">开通城市: <volist name="citylist" id="row" > <if co... volist最后一条记录 2016-4-5 thinkphp 热度:15805 评论:0 作者: 菜鸟站长
thinkphp3.2 home为默认模块,怎么在URL里面隐藏掉home 默认地址已经去掉了index.php: http://localhost/yibuzhicheng/Home/Index/index.html 希望访问的... tp3.2去掉home 2016-3-29 thinkphp 热度:10620 评论:0 作者: 菜鸟站长
去除thinkphp url中的index.php(web服务器是apache) 例如你的原路径是 http://localhost/yibuzhicheng/index.php/Index/about.html 那么现在的地址是 http://localh... 去除thinkphpurl中的index.php 2016-3-29 thinkphp 热度:13058 评论:0 作者: 菜鸟站长
如何查看thinkphp版本号 在模板中写,如{$Think.version}就会显示版本号 显示结果: 3.2.3 tp版本号 2016-3-29 thinkphp 热度:14257 评论:0 作者: 菜鸟站长
ThinkPHP多表联合查询以及自带分页类用法 //控制器下面的方法: public function index_recommendlist(){ $m=D('index_c... ThinkPHP多表联合查询 2016-3-7 thinkphp 热度:10868 评论:0 作者: 菜鸟站长
thinkphp模板某个变量为空时如何设置默认值 <div style=" line-height:40px; font-size:20px;">商品品牌:{$goodsinfo.PinPai|de... 这篇文章木有标签 2015-11-25 thinkphp 热度:11119 评论:0 作者: 菜鸟站长