TinyButStrong - the PHP Template Engine

Example of MySQL data merge

this TBS template is W3C compliant Valid XHTML 1.1

This example is not working because there is no MySQL connection available. See the corresponding PHP script in order to configure the connection.
[onshow;block=p;when [var.sql_ok]=0]

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

There are [blk1.#] displayed lines.