I have an array of data in php and I need to display this data in a HTML table. Here is what an example data set looks like.
Array(
Array
(
[compar
Welcome to Stack Overflow.
I think either way is OK... I have found it easier to include plenty of markup in the response from the server side, when you're displaying a whole table (or row) at a time. If you're dynamically poking bits of data into a table that's already on the page, you might want to render it on the client side.