Answers for "variable to template laravel"

PHP
2

laravel 5.4 forelse

@forelse ($users as $user)
    <li>{{ $user->name }}</li>
@empty
    <p>No users</p>
@endforelse
Posted by: Guest on September-29-2020
0

using get in laravel blade

{{ request()->has('faq') ? request()->get('faq') : '' }}
Posted by: Guest on September-24-2020

Code answers related to "variable to template laravel"

Browse Popular Code Answers by Language