Answers for "how to check string is empty in laravel 9"

PHP
0

check empty laravel blade

@empty($products)
        <p class="bg-danger text-white p-1">product</p>
@else
        <p class="bg-danger text-white p-1">no product</p>
 @endempty
Posted by: Guest on April-05-2021
1

laravel 8 check if null or empty

if(is_null($value) || empty($value)){dd('Is null or empty');}else{dd('Is NOT NULL OR EMPTY');}
Posted by: Guest on October-28-2021

Code answers related to "how to check string is empty in laravel 9"

Browse Popular Code Answers by Language