Yea, for some reason I thought that 'tables[] = ' would append to the list. I'm not sure which language that's from, but it doesn't matter now, as it is certainly much more readable to me. Before, the view had a hacky way of grouping the data into a table and I was confused about the meaning of the code seconds after I wrote it, so I figured a cleaner rewrite was in order :)
On Mar 3, 2011, at 4:19 PM, pbreit wrote: > Yeah, I got kind of lost, too. The thing that threw me off were "trs[] =" and > "tables[] =". The = sign is for assignment, not adding or appending. Each > "trs[] =" is re-assigning the whole variable each time, overwriting anything > that was already there (if I'm not mistaken). > > But building tables with functions is more difficult for me in general. That > may be because I learned HTML tables first.

