Two table are connected to each other in which one property in a table is a primary key in another table
- Make a controller
- make a model
Inside model you have to define this table has a one to one relation with table_name
To get the data inside controller
ย
ย
ย