I'm very new to MySQL and PHP, and I want to make my page tell me the newest entry for each name, but not just the newest entry for the table.
The table looks something like this,
55 | Curtis | present | 2014-06-22
87 | Curtis | present | 2014-06-22
56 | James | absent | 2014-08-25
57 | Curtis | late | 2014-08-25
48 | Will | present | 2014-08-25
47 | James | present | 2014-08-18
43 | Will | present | 2014-08-18
I want it to output like this,
43 | Will | present | 2014-08-25
47 | James | present | 2014-08-25
57 | Curtis | late | 2014-08-25
Would anybody be able to help me?