i have tow tables one
items - id|category|subcategory|make|model. and another table
machines - id|year|description|photo_path|items_id|and bunch of other columns.
on the front end of website I'm trying to get all the machines that has certain category or subcategory, etc.. how can i use eloquent model to achieve that?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire