Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

blade condition if else laravel

 @if($name != '')
          {{'Name is not empty!'}}
      @else
          {{"Name is empty!"}}
      @endif
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #blade #condition #laravel
ADD COMMENT
Topic
Name
3+3 =