I have the following tables set up
widgets table: id, name, widget_types_id
widget_types table: id name
I have a query that pulls the widgets. I want to display the data like this:
Widget Type # 1: widget types name # 1 widget types name # 2 widget types name # 3
Widget Type # 2: widget types name # 1 widget types name # 2 widget types name # 3
What would be the best way to do this? Thanks
I realized I should have been doing this differently and got it working using the relationships.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community