vendredi 13 mai 2022

how to get name from url dynamically

How to get a part of the url?

query to be made:

$name = 'LeSant'; // (from url dinamic) //
$event = Dias::where('name', $name)->first();

enter image description here

How can I get name from the url? /event/LeSant



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

Aucun commentaire:

Enregistrer un commentaire