Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 2 years ago.
0

i am not doing the work/homework for you.. its a join/related query.. try it in the MySQL console and then go from there, if you get stuck on the query then post the query here..

or alternatively use relationship aspect of laravel to link categories/products and then construct a proper eloquent query using with() construct.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

rocky5469 rocky5469 Joined 21 Nov 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.