Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel if else condition in blade file

 @if (count($sliderData) > 0)
 {{'data'}}
@else
{{'data not found'}}
@endif
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #condition #blade #file
ADD COMMENT
Topic
Name
2+1 =