How to write php breadcrumb navigation?

Source: Internet
Author: User
How to write the php breadcrumb navigation? My navigation is included in the header file (top. php), and every page is introduced in the include "top. php" mode. But when I wanted to do the breadcrumb navigation today, I found the problem. I tried to use form to send it, and then top. received by php, but the form must have a submit, but it seems that the submit cannot be hidden on the page, so no. To solve this problem, how can I write the php bread navigation?
My navigation is included in the header file (top. php), and every page is introduced in the include "top. php" mode. But when I wanted to do the breadcrumb navigation today, I found the problem. I tried to use form to send it, and then top. received by php, but the form must have a submit, but it seems that the submit cannot be hidden on the page, so no. How can this problem be solved?

------ Solution --------------------
You only need to analyze the url or path_info.
------ Solution --------------------
Through url parsing, $ _ SERVER ['request _ url']; and parse_url () functions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.