Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

use if in laravel blade

@if($user->status =='active')         
      <td>{{ $user->name }}</td>         
@else
      <td> Guest </td>        
@endif
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #blade
ADD COMMENT
Topic
Name
3+6 =