skip to Main Content

Can you load data into a MySQL table while "counting" repeated values found in multiple columns combined into one?

sorry for the confusing title but I hope this explains my question. I have a tab delimited text file that looks like this if I were to display it as a table: ════════╤════════╤════════╤═════════╤═════════╤═════════╤═════════ item │ id │ info │ PERSON1…

VIEW QUESTION

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