1,105,254 Community Members

help with building a dynamic menu breadcrumb

Member Avatar
lordrt
Posting Pro
510 posts since Jul 2010
Reputation Points: 20 [?]
Q&As Helped to Solve: 34 [?]
Skill Endorsements: 0 [?]
 
0
 

Hello, I would be grateful if someone could help me with building a simple dynamic menu breadcrumb in PHP with mysql, using the MVC concept.

My pages are stored in a mysql db, and the table is formatted with the following fields:

Autokey, Title, IDMenuParent. The latter takes NULL as value if record is a parent in itself, else the autokey value of the record acting as parent.

Note: However in the address bar the url does not show the parent menu, it just shows for example www.mysite.com/page-3-map.html, where map is the child menu for contact menu in this case, but the latter not shown in the url.

Member Avatar
bops
Posting Whiz
301 posts since Aug 2005
Reputation Points: 1 [?]
Q&As Helped to Solve: 17 [?]
Skill Endorsements: 0 [?]
 
0
 

No one is going to do it for you. Attempt it yourself, post some code when you get stuck.

Member Avatar
lordrt
Posting Pro
510 posts since Jul 2010
Reputation Points: 20 [?]
Q&As Helped to Solve: 34 [?]
Skill Endorsements: 0 [?]
 
0
 

after some painful hours managed to do it :D

Question Answered as of 1 Year Ago by bops
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article