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