Controller
@csrf @method('DELETE')
/** $formations = Formation::where('filiere_id', 'Like',$filiere) ->where('niveau', 'Like',$keyword ) ->get() ; **/ /** $formations = Formation::where('filiere_id', '1') ->where('niveau', 'Like',$keyword ) ->get() ; $formations->load('filiere'); $formationsResult=$formations; $formations = Formation::where('filiere_id', '2') ->where('niveau', 'Like',$keyword ) ->get() ; $formations->load('filiere'); $formationsResult=$formationsResult->merge($formations); **/ onsubmit="return confirm('Voulez vous Soumettre le formulaire?');" MAIL_DRIVER=smtp MAIL_HOST=smtp.googlemail.com MAIL_PORT=465 MAIL_USERNAME = ouedraogo.nikiss@gmail.com MAIL_PASSWORD= docteur321 MAIL_ENCRYPTION=ssl