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


                <p> Name is not shairy </p>


For example:



        <title>Laravel Practice</title>


    <body class=”container”>

        <div class=”row”>

            <div class=”card col-md-8 mt-5 mx-auto”>

                <h1> Welcome {{$name}} </h1>


                <p> This is correct Number of Shairy</p>






Post Your Comments & Reviews

Your email address will not be published. Required fields are marked *