I want this human readable words into php code:
Take all values from column "Ratings" WHERE Time >= 24 hours Split them into 1 hour each Take average Rating values for each hour and put them into 24 variables
WhatI'm doing now is a bad long code :/
I'm taking them an hour after another, each one in a separate function where I specify an hour via mysql select statement!
I'm new in programming, and I couldn't figure out what to do to get all values at once, and split them into 1 hour each
Thanks