Home > Backend Development > PHP Tutorial > php怎样实现当前位置功能?解决办法

php怎样实现当前位置功能?解决办法

WBOY
Release: 2016-06-13 10:25:32
Original
990 people have browsed it

php怎样实现当前位置功能?
例如:
  当前位置>>公司简介>>企业资质

------解决方案--------------------
google 关键词 面包屑 php
------解决方案--------------------
东西不难,主要你得先把URL重写了,那样才能把请求串成/连接的目录样子。
------解决方案--------------------
如果做成静态的不是很好
------解决方案--------------------
根据当前页所处的分类号,向上查找父分类
可使用我的函数 find_parent http://topic.csdn.net/u/20110728/15/eadffb68-5eb6-40d8-9ec1-2bc439f45322.html

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