You're right, you can define rows using a simple indexed array, but you have to use an associative array if you want to add any html attributes to the row or the cell, like a class, etc. I'm not sure why you weren't able to get the table to render using associative arrays to define the rows. I definitely tested the code before I posted, and it worked for me. I'd recommend you look over the theme_table api documentation - it may shed some light on the problem.
Re: Thanks Emily, that was a
I'm glad the article was useful!
You're right, you can define rows using a simple indexed array, but you have to use an associative array if you want to add any html attributes to the row or the cell, like a class, etc. I'm not sure why you weren't able to get the table to render using associative arrays to define the rows. I definitely tested the code before I posted, and it worked for me. I'd recommend you look over the theme_table api documentation - it may shed some light on the problem.
All the best,Emily