I would like to make a program for my website that will make a csv report of the data entered in my database. The problem is that I don't have a clue how. I know it's possible due to my searching but all of them did not really dumb it down to be enough for me to understand. Can someone please push me into the right direction?
Date | Entries
2016 | 99 Records
2017 | 50 Records
I'd like for this to show in the excel file along with the column name and the rows in order.