I am trying to create a script to process a csv of my bank statement that I have downloaded from my online banking.
I have imported the csv file and info has been saved into my table called "data" I am then flagging each row to say whether it is wages, bills, food shopping etc.
This information is then saved into my "data_type" table.
I now want to create a results page where all the totals for each data type is added up e.g.
Food Shopping: £X.XX
Bills: £X.XX
It is all test data so figures won't add up but hopefully someone understands what I am trying to do.
I have imported the csv file and info has been saved into my table called "data" I am then flagging each row to say whether it is wages, bills, food shopping etc.
This information is then saved into my "data_type" table.

I now want to create a results page where all the totals for each data type is added up e.g.
Food Shopping: £X.XX
Bills: £X.XX
It is all test data so figures won't add up but hopefully someone understands what I am trying to do.