Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

blade if

@if (count($records) === 1)
    I have one record!
@elseif (count($records) > 1)
    I have multiple records!
@else
    I don't have any records!
@endif
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #blade
ADD COMMENT
Topic
Name
3+5 =