We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,449 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

help with building a dynamic menu breadcrumb

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.

2
Contributors
2
Replies
18 Hours
Discussion Span
6 Months Ago
Last Updated
4
Views
Question
Answered
lordrt
Posting Pro in Training
484 posts since Jul 2010
Reputation Points: 30
Solved Threads: 33
Skill Endorsements: 0

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

bops
Posting Whiz in Training
273 posts since Aug 2005
Reputation Points: 24
Solved Threads: 16
Skill Endorsements: 0

after some painful hours managed to do it :D

lordrt
Posting Pro in Training
484 posts since Jul 2010
Reputation Points: 30
Solved Threads: 33
Skill Endorsements: 0
Question Answered as of 6 Months Ago by bops

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page generated in 0.0582 seconds using 2.66MB