Hey,
I have a basic understanding of php but I need a little help to do something.
I have rows in database table `users` called 'views', 'favourites' and 'subscribers' etc. The values in each of them rows are expressed as numbers ie 'user1 has 35 subscribers'
I want to be able to create a simple feature which reads this data and converts it into one total number.
e.g.
data for user1
profile views: 150
favourites: 50
subscribers: 10
total: 210
Which i can then use as a basic foundation for a points system.
I don't know how to count using sql and pull the data and merge it all.
Can someone help or assist me with this problem?
Thanks.