I was trying to be clever, by taking some view code and stuff it into
controller code.
This is what I came up with to get an array of column names, but it
doesn’t work the way I expect it to. The view-source shows a bunch of
empty TD’s , so I know it’s looping through, but with no data.