I want to display the list of students from a school the user belongs to and not display data from other schools. for that I created two user tables: id , school_id school table: id, name, address,.... student table: id,school_id,name,address,.... I want to display the students of the school to whom this user belongs the display is done in browse.blade.php generated by voyageur how can i make this filter Thank you for help
the user belongs to a company and can only see data from that school I have a browse in /views/students that shows students from all schools
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire