TinyButStrong - the PHP Template Engine

Example of Array data merge

this TBS template is W3C compliant Valid XHTML 1.1

Example with a simple Array

[blk1.#] displayed lines

Country Prefix
[blk1.key;block=tr] [blk1.val]
[blk1.key;block=tr] [blk1.val]
[blk1;block=tr;nodata]There is no data.

Example with a composed Array

[blk2.#] displayed lines

Position Nickname Score Date
[blk2.#] [blk2.res_name;block=tr] [blk2.res_score] [blk2.res_date;frm='mm-dd-yy']
[blk2.#] [blk2.res_name;block=tr] [blk2.res_score] [blk2.res_date;frm='mm-dd-yy']
[blk2;block=tr;nodata]There is no data.

Example with a queried Array

[blk3.#] displayed lines

Position Nickname Score Date
[blk3.#] [blk3.res_name;block=tr] [blk3.res_score] [blk3.res_date;frm='mm-dd-yy']
[blk3.#] [blk3.res_name;block=tr] [blk3.res_score] [blk3.res_date;frm='mm-dd-yy']
[blk3;block=tr;nodata]There is no data.