thinkphp在iis7以上如何配置伪静态隐藏index.php 1.如果iis没有安装url重写模块,先下载url重写模块安装上,下载地址:https://www.microsoft.com/zh-cn/download/confirmati... thinkphp在iis7以上如何配置伪静态隐藏index.php 2020-12-11 thinkphp 热度:5055 评论:0 作者: 菜鸟站长
thinkphp5常用模板标签使用方法 1.模板标签volist: {volist name="menulist_arr" id="menulist_arr0"} ... thinkphp5常用模板标签使用方法 2020-4-13 thinkphp 热度:6754 评论:0 作者: 菜鸟站长
如果解决thinkphp5未定义变量报错问题 1.控制器里面的方法,如果变量未定义直接报错 2.模板里面模板标签渲染的变量,未定义直接报错。 3.解决方案在config.p... 如果解决thinkphp5未定义变量报错问题 2020-1-31 thinkphp 热度:8482 评论:0 作者: 菜鸟站长
tp5在phpstudy下URL无法去掉index.php的解决方案 phpstudy (apache)中URL无法去掉index.php的解决方案 tp5默认设置的.htaccess文件在wamp中都可以实现了去掉(隐藏)index.... tp5在phpstudy下URL无法去掉index.php的解决方案 2019-1-6 thinkphp 热度:9178 评论:1 作者: 菜鸟站长
thinkphp模板if里面使用函数示例 html模板: <if condition="is_weixin() eq true "> <input type="but... thinkphp模板if里面使用函数示例 2017-9-11 thinkphp 热度:10654 评论:1 作者: 菜鸟站长
APACHE伪静态出现No input file specified解决办法 启用REWRITE的伪静态功能的时候,首页可以访问,而访问内页的时候,就提示:“No input file specified.”原因在于使用的PHP是fast_cgi模式,而... APACHE伪静态出现Noinputfilespecified解决办法 2017-4-5 thinkphp 热度:10851 评论:1 作者: 菜鸟站长
thinkphp save($data)的返回值 save方法的更新判断失败用 === false来判断, 否则执行都是成功的,只是如果为0 表示没有更新任何记录(就是你说的更新值和原来值相同的情况) ... save($data)的返回值 2016-6-4 thinkphp 热度:10378 评论:0 作者: 菜鸟站长
thinkphp数据库事务例子 1:首先,你的数据表格式得是innodb格式 2: $m=M('user');$m1=M('user_detail');$m->startT... thinkphp事务 2016-6-4 thinkphp 热度:9787 评论:0 作者: 菜鸟站长
php的file_get_contents和curl差距  ... file_get_contents和curl差距 2016-4-22 thinkphp 热度:10016 评论:0 作者: 菜鸟站长
ThinkPHP模板中判断volist循环的最后一条记录的验证方法 <div class="bannercxk1">开通城市: <volist name="citylist" id="row" > <if co... volist最后一条记录 2016-4-5 thinkphp 热度:13506 评论:0 作者: 菜鸟站长