Hi there, sorry about the limiting thing. You need to reset the fetched <td>s each time, which I forgot to add. But together with your request, here it is:
Note that I'm echoing right away instead of fetching it. Also, this time I tested it, so there should be no problem. If you still want to use the output-once-in-the-end approach, try reseting the fetched columns after echoing it.
Hope this helps. Sorry about the hassle.