List/Menu and dependable subList/subMenu in conditional region ?
Hi,
I want to make something like this:
I have a List/Menu populated from a database table named categories.If an item of List/Menu have sub categories then the subList/Menu must appear in the page(in a conditional region) ,else not appear.The subList/Menu is populated from a database table named subcategories .The subcategories have a foreign key which name is tha same with the primary key of table categories:
Categories (id_cat,name)
subcategories(id_sub,name,id_cat)
Any suggestion ?