----------------------------------------------------------------------------------
|id_category|parent_id|category_level|category_sort|category_name|category_rw_tag|
|--------------------------------------------------------------------------------|
|1          |0        |1             |NULL         |Shopping     |NULL           |
|2          |1        |2             |NULL         |Laptops      |NULL           |
|3          |2        |3             |NULL         |Accessories  |NULL           |
|4          |3        |4             |NULL         |HDD          |NULL           |
----------------------------------------------------------------------------------
I have a table of categories. to the configuration shown above. Fist of my problem : I would like to build a breadcrumb like this :
Shopping > Laptops > Accesories > HDD
Second : the breadcrumb. must be dynamic! so when I query the db table with parameter id_category= 5 to display :
Shopping > Laptops > Accesories > HDD
when I query the db table with parameter id_category= 4
Shopping > Laptops > Accesories
...and so on.
I have read all question regarding my question but simply I had no idea how to d this.
Php Jedy's you are my only Hope.
 
     
     
    