jeudi 31 janvier 2019

How can i get 3 table data in index in laravel?

I have 3 tables schools, school_Details,ratings ** School**: - id

  • name

  • phone

  • school

  • email

  • status

School details:

-id

  • school_id

  • image

  • status

ratings:

-id

  • school_id
  • rating_value
  • status

both rating &school details have only one row for one school_id.

Now how can i get all details from all 3 tables in index from schoolController



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2HIinbL
via IFTTT

Aucun commentaire:

Enregistrer un commentaire