Jump to content

Infinite categories and sub-categories


vividona

Recommended Posts

Hi,

 

Please help

 

I need to make categories with su-categories

I made in my database tables like this

 

table = categories

 

cid      |    cat_id    |  parent_list    | categ_name                | type

1              0                  1                  General category            c

2              1                  1,2              sub category                  s

3              1                  1,3              sub category                  s

4              1                  1,2              sub category                  s

5              1                  1,5              sub category                  s

6              5                  1,5,6            sub sub category            s

7              0                  7                  General category2          c

8              7                  7,8              sub category                  s

 

I need to view this in dropdown menu using parent_list column

Link to comment
https://forums.phpfreaks.com/topic/253886-infinite-categories-and-sub-categories/
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.