Jump to content

Help with this function please


dhimok

Recommended Posts

Hello everyone!

 

I have a mysql table and these fields:

category_id, category_name, parent_id

 

And i have a tree menu function which lists the categories under appropriate parent. What I need help is a function that when i view content of a child then it shows in which parents it resides. Like this:

 

You are here: Grandpa > Father > Child

 

where I am actually viewing the contents of Child

 

Thanks in advance :)

 

 

Link to comment
https://forums.phpfreaks.com/topic/41765-help-with-this-function-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.