I have a table with all my invoices, where I save the date as a TIME STAMP and the total value of the invoice.
I want to make a graphic based on the sales that needs the day and the value. But in the table there are more totals per day, so I made the query to get the rows from the current month and I get an output something like :
Date: 1403739780 / Value : 2167
Now I want to know how to group the values in one that are from the same day ( in PHP ) but I don't know any simple way.