3 years ago

Writing a URL in if statement

Posted 3 years ago by manojvarma

Hi i am stuck in writing the URL inside of "if" statement. Here is my code. i want to know how to make it proper.

                        <a href="{{ url('samratbasic') }}"Go>
                        @else($device->name == 'RAKSHAK')
                        <a href="{{ url('rakshakbasic') }}"Go>

Please sign in or create an account to participate in this conversation.