摘要: 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 阅读(115) 评论(0) 推荐(0)
摘要: 视图 不携带参数 携带参数 控制器 不携带参数 携带参数 $this->success('提交回答成功',U('Question/ask_detail', array('id'=>$qid))); 阅读全文
posted @ 2017-03-14 10:57 SherryLovesCode 阅读(165) 评论(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 阅读(223) 评论(0) 推荐(0)
摘要: 1.表中的值再次插入 insert into question (title,tid,solved) select title,tid,solved from question; 阅读全文
posted @ 2017-03-14 09:26 SherryLovesCode 阅读(93) 评论(0) 推荐(0)
摘要: 手册 实例: 视图 注意$where要放 $count $list上面 阅读全文
posted @ 2017-03-14 09:24 SherryLovesCode 阅读(95) 评论(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 阅读(158) 评论(0) 推荐(0)