That will only change the name. I'm wanting to re-populate the array so each day has it's own nesting, with the rows for that day included.
Code:
$key = explode(' ', $row['date']);
$aData[$key[0]][] = array($row['date'], $row['id'], $row['name']);
Almost there. :P