lundi 28 mai 2018

How to get data from intermediate table in laravel?

I have 3 table like this,

kelas

id | kelas | romawi

jurusan

id | alias | motto | visi | misi | tahun

kelas_jurusan (intermediate table)

id | id_kelas (from table kelas) | id_jurusan (from table jurusan)

I want to get data 'kelas' in table kelas with accessing the kelas_jurusan table, thanks for your helping



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire