TBS is aimed at database query result sets -- which means my simple answer is that your data array is not the conventional structure one would get from a db query. (That doesn't mean it is not possible to use that structure, just that I am not used to using that style.)
A db query would give result like this using your (abbreviated) data
$data =
Array (
[0] => Array
(
[id] => 17
[subject] => HELO!
)
[1] => Array
(
[id] => 16
[subject] => GOODBYE
)
)
|
Where each record has the id, subject, etc as a key.
With that data, your TBS template would look like...
<table width border="1">
<data>
<tr><td>id</td><td>[blk.id;block=data]</td></tr>
<tr><td>subject</td><td>[blk.subject]</td></tr>
</data>
</table> |
Not an exact answer to your question, but I hope it helps,
TomH
PS next time if you have actual TBS php and template code that is not working - then it is easier for us to help if you post the code for us to see what you have actually done.