So I have a div in which i have a collection list and in which i have text element, all of them are connected with database, the problem i cant solve is that there is only one table in my database in which categories and sub categories are defined also cat and subcat are define in a single column the only relation between them is from another column which connects subcat with main cat, it looks like this,
i want the cat or subcat to be displayed on my category section of my application whenever i select any of the cat and sub cat
kindly help me out…