Tag: elseif

  • Blade Conditional Statement

    Blade Conditional Statement

    All the basic syntax of conditional statement is same for if, if else, else if, but we have to start with @ symbol. In Laravel there is one new statement for negation i.e. unless that check for negative value        @unless($name==’shairy’)                 <p> Name is not shairy </p>          @endunless For example: <html>     <head>…