I'm trying to make a listing of users who logged in and at the same time a count of how many times each user logged, from logins records in a table, I do not know how to explain very well,
MySQL table (logins):
Nome | Hora_de_Login
----------------------
Joao | 1519935575
Joao | 1519935475
Joao | 1519935275
Pedro| 1519935775
Pedro| 1519932575
And I would like PHP to print like this:
Nome | Numero_de_Logins
----------------------
Joao | logou 3 vezes
Pedro| logou 2 vezes