I have a .csv
file that is being saved from a MySQL Query on a Raspberry Pi, and I would like to simply output the sum of column_1
in an HTML output.
I would just like to output a sentence like, The sum of column_1 is: XXX, but I am unsure how to access the .csv file in my directory, find the sum of a specific column, and then output that sum.
Thanks for your help :)