Posts by Gabriel Dal Carobo • 31 points
2 posts
-
1
votes1
answer378
viewsA: adding controller foreach field to view
As André commented on: I would make a sum storage: $total_receita += $lancamento->valor; inside the loop, then display at the end $total_recipe. I would do so. To add this to the view, you add…
-
2
votes1
answer827
viewsA: How do I send a message to a specific room with Socket.io?
According to the official documentation, to send a message to a specific room you can use the example below: //enviando para todos na sala (room) 'game', com exceção do remetente…