Report totals for non-numerical data
Hello all,
I am trying to update a site for an auto shop. The site is in PHP, MySQL.
What they have in the database is records for each customer that comes in to their shop. So, they will have John Q. Public having multiple entries for the date he came in, and what was done to the car. They want a report that will display the totals for each item that John Public has had done.
So for example the report would be displaying the following:
breaks oil change shocks tune up total visits
John Public 2 4 0 2 8
Jack Private 1 6 4 8 19
The database has this information in it to get the above report:
Name Date Work Cust. Review
John Public 02-05-2007 breaks satisfied
John Public 03-15-2008 breaks satisfied
John Public 01-09-2008 oil change satisfied
Is there a way to do this?
