上一页 1 2 3 4 5 6 7 8 9 ··· 64 下一页
摘要: 1.标量的输出 //模块$arr = array('k1'=>'小赵1','k2'=>小赵2);$this->assign('... 阅读全文
posted @ 2022-12-06 22:23 轻风细雨_林木木 阅读(75) 评论(0) 推荐(0)
摘要: 一. 模板的使用 1. 改变模板文件的后缀 //修改文件的后缀//进入配置文件'TMPL_TEMPLATE_SUFFIX'=>'.... 阅读全文
posted @ 2022-12-06 22:23 轻风细雨_林木木 阅读(30) 评论(0) 推荐(0)
摘要: 一. 建立文件夹 model 常用的连贯操作 //1.where 操作 添加搜索条件$m = M('User');$arr = ... 阅读全文
posted @ 2022-12-06 22:23 轻风细雨_林木木 阅读(28) 评论(0) 推荐(0)
摘要: 一. 制作表格内容搜索 1.在模板的table上加form表单 用户名: 性别: 男 女 在模块sear... 阅读全文
posted @ 2022-12-06 22:23 轻风细雨_林木木 阅读(20) 评论(0) 推荐(0)
摘要: 三. 区间查询方式 //查询大于4,小于10区间的数,使用and的形式$m = M('user');$data['id'] = ar... 阅读全文
posted @ 2022-12-06 22:23 轻风细雨_林木木 阅读(22) 评论(0) 推荐(0)
摘要: 一. 普通查询方式 a. 字符串 $m = M('user');//搜索性别为0,用户名为'gege'$arr = $m->whe... 阅读全文
posted @ 2022-12-06 22:23 轻风细雨_林木木 阅读(32) 评论(0) 推荐(0)
摘要: 操作步骤: 少数派网站,微博上的教程 http://sspai.com/29016?preview 阅读全文
posted @ 2022-12-06 22:23 轻风细雨_林木木 阅读(184) 评论(0) 推荐(0)
摘要: 一. 普通查询方式 a 字符串 $arr = $m->where("sex=0 and username='gege'")->fi... 阅读全文
posted @ 2022-12-06 22:23 轻风细雨_林木木 阅读(137) 评论(0) 推荐(0)
摘要: 本地搭建wamp,输入http://127.0.0.1访问正常,当输入http://localhost/,apache出现You d... 阅读全文
posted @ 2022-12-06 22:23 轻风细雨_林木木 阅读(412) 评论(0) 推荐(0)
摘要: 1.进入 wamp/bin/apache/apache2.4.18/conf/httpd.conf (这是apache的配置文件)... 阅读全文
posted @ 2022-12-06 22:23 轻风细雨_林木木 阅读(105) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 64 下一页