I am writing a script that involves some level of calculations.
I'm just wondering if it's better to read the raw data from mysql table then use php to do the calculations, or if I should use mysql functions for the calculations. Any suggestions about which approach is faster?
Richie.