7 months ago

if condition cant work

Posted 7 months ago by van-india

i try to check if round_type field has data then condtion move on else if but cant work

here is my controller

public function view($id)
    $interviewschedule = Interviewschedule::where('user_id','=',$user->id)->pluck('round_type');
    return view('admin.pages.interviewschedule',compact('interviewschedule','user'));

blade file

    Data empty
    Has Basic Data

when try to condtion i have basic record in my field round_type but cant work elseif condtion every time is if condtion check

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