andreixfr
4 months ago

How to count views columns?

Posted 4 months ago by andreixfr

I have in table Events, column Views. How can I put all values together into a new variable? Now, with

 {!! $event->views !!}

i got like 146 167 82 76 77, but I want a single number.

Please sign in or create an account to participate in this conversation.