PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
what's the best way to get an average? The values are going to be coming from MySQL db and I wanted to be able to get the average of about 5 numbers.
I.E.
Every day I get like 5-6 different numbers I would like to have the average for, they are represented in percent and the numbers go from 0.00% to 100.00% and I guess I didn't know how to calculate the average from database tables.