Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel blade for if

@forelse ($users as $user)
    <li>{{ $user->name }}</li>
@empty
    <p>No users</p>
@endforelse
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #blade
ADD COMMENT
Topic
Name
9+3 =