skip to Main Content

Laravel – how to count user_id based notifications?

all members see the same counts in the software. How can I make it count specifically for user_id? @php $check_count = AppModelsSupport::where('status', 2)->get() @endphp <li class="header__menu-item"> <span>Support</span> @if(count($check_count) == 0) @else <span class="notification notranslate">{{count($check_count)}}</span> @endif </li> mysql picture I wanted…

VIEW QUESTION
Back To Top
Search