Jump to content

Astro

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Astro's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.