How to count views columns?

Posted 3 weeks 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.