摘要: 首先要找到对应模块文件,并了解后台设置,bootstrap的类 如col-lg-12,去掉原来不必要的class,demo.web.xorder.com.cn 1.在原来的input框中加个购物车图标:可以对input框所在div一个relative 给购物车一个absolute 调整购物车所在位置 阅读全文
posted @ 2017-03-20 15:30 SherryLovesCode 阅读(151) 评论(0) 推荐(0)
摘要: 1.配置环境变量 2.进入php所在路径 然后输入 php 文件路径/文件名 即可 阅读全文
posted @ 2017-03-16 17:18 SherryLovesCode 阅读(7360) 评论(0) 推荐(0)
摘要: tags 是以逗号隔开的字符串存入数据库的,$result是查询结果 三维数组 把tags里的值变成数组 前台显示 php 代码 阅读全文
posted @ 2017-03-15 15:42 SherryLovesCode 阅读(1679) 评论(0) 推荐(0)
摘要: http://www.helloweba.com/view-blog-254.html 阅读全文
posted @ 2017-03-14 16:39 SherryLovesCode 阅读(86) 评论(0) 推荐(0)
摘要: http://www.jb51.net/article/48835.htm 阅读全文
posted @ 2017-03-14 16:37 SherryLovesCode 阅读(118) 评论(0) 推荐(0)
摘要: 视图 不携带参数 携带参数 控制器 不携带参数 携带参数 $this->success('提交回答成功',U('Question/ask_detail', array('id'=>$qid))); 阅读全文
posted @ 2017-03-14 10:57 SherryLovesCode 阅读(169) 评论(0) 推荐(0)
摘要: 首页><a href="[news:url zdy=news,cid,lists,id] " rel="category tag">[news:zdy zd=news_list,name,cid]</a>>[news:name] 阅读全文
posted @ 2017-03-14 09:28 SherryLovesCode 阅读(224) 评论(0) 推荐(0)
摘要: 1.表中的值再次插入 insert into question (title,tid,solved) select title,tid,solved from question; 阅读全文
posted @ 2017-03-14 09:26 SherryLovesCode 阅读(96) 评论(0) 推荐(0)
摘要: 手册 实例: 视图 注意$where要放 $count $list上面 阅读全文
posted @ 2017-03-14 09:24 SherryLovesCode 阅读(96) 评论(0) 推荐(0)
摘要: 错误写法: <select name='recommend' class="form-control" style="width:500px;" id="recommend" > <option value=""> <if condition="$question.recommend eq 0">不 阅读全文
posted @ 2017-03-14 09:20 SherryLovesCode 阅读(162) 评论(0) 推荐(0)