Answers for "accept attribute in laravel blade"

PHP
5

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
Posted by: Guest on December-19-2020
0

using get in laravel blade

{{ request()->has('faq') ? request()->get('faq') : '' }}
Posted by: Guest on September-24-2020

Browse Popular Code Answers by Language