#Laravel enrollment functionality
2 messages · Page 1 of 1 (latest)
Are these related in any way? If not
return view('view.name', [
'sections' => Section::all(),
'departments' => Department::all(),
'courses' => Course::all(),
]);
2 messages · Page 1 of 1 (latest)
I have 3 tables in database which are section table, department table, course table now I want to show all these 3 tables data in a single view file how can I do it ?
Are these related in any way? If not
return view('view.name', [
'sections' => Section::all(),
'departments' => Department::all(),
'courses' => Course::all(),
]);