samedi 23 juillet 2022

laravel i want to show count and with there name

laravel I'm trying to get count row and its value.

model name Result

example THIS DATA STORED IN DATABASCE

NAME    SUBJECT        RESULT 
 A        HX            PASS  
 B        HX            FAIL
 C        DX            PASS
 D        DX            PASS
 E        MR            FAIL

I want to show value like blade this

in table

SUBJECT   PASS    FAIL
  HX       1       1
  DX       2       0
  MR       0       1 


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/i5wAFeE
via IFTTT

Aucun commentaire:

Enregistrer un commentaire