4 years ago

fetch associative array from pivot table and pass it to view ?

Posted 4 years ago by darknesseyes

Hi everyone, I'm really stuck

I have two tables

groups id title

subjects id title

group_subject group_id subject_id

how can I fetch associative array , pass it to view and iterate to make

menu with submenu

group 1 -math -art

group 2 -chemistry -physics

Please sign in or create an account to participate in this conversation.