Your conditional looks to be reversed to me. I think if(0!=count($reservation_check)) should be if(count($reservation_check)!=0)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community