Posts by maraguida • 64 points
2 posts
-
3
votes1
answer51
viewsA: Repeat id query most times
Just a select with a totalizing function select userid, count(*) from visitas group by userid order by 2 desc To order use a order by, so the data appears with the most visited users first.…
-
1
votes3
answers35
viewsA: Delete Line with email
Explode the text area on different lines. Traverse the resulting array by printing only lines that have no email $linhas = explode("\n", $textarea); foreach ($linhas as $linha) { // teste básico…