Home > Backend Development > PHP Tutorial > thinkphp前台如何遍历指定栏目的文章

thinkphp前台如何遍历指定栏目的文章

WBOY
Release: 2016-06-13 11:04:04
Original
1229 people have browsed it

thinkphp前台怎么遍历指定栏目的文章啊
thinkphp前台怎么遍历指定栏目的文章啊,难道是每个都用控制器写下然后分配下么。
------解决方案--------------------
category_id = 1
可以用参数传递之类了...例如: $_GET['cate_id'] 剩下的就看你怎么设计数据库了.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template