We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
How to get a part of the url?
query to be made:
$name = 'LeSant'; // (from url dinamic) // $event = Dias::where('name', $name)->first();
How can I get name from the url? /event/LeSant
name
Aucun commentaire:
Enregistrer un commentaire