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.

Recommended Answers

All 2 Replies

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

after some painful hours managed to do it :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.