lundi 12 juin 2023

filters the data of a school to which the user belongs

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



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/xDuOYVr
via IFTTT

Aucun commentaire:

Enregistrer un commentaire