error in 'or condition' in blade template

Posted 1 year ago by arctushar
@if($data->id!=9 || $data->id!=1) 
@endif 

I have used above but not working. But If i use only one condition, it works fine. What is the solution ?

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