Example of Php variable merge
Automatic fields ([onload] and [onshow]) enable you to display a PHP variable in your template. You can display a simple variable, or an item of an Array variable, or the property of an Object variable. There are also several parameters for TBS fields which enable you to setup the display of the data item.
Php variable | Automatic field |
---|---|
$amount | $ 3.55 |
$task['monday'] | <cooking> |
$obj->param | hello |
Special Automatic fields return data about the Template Engine.
Information | Special Automatic field |
---|---|
TinyButStrong version: | 3.15.0 |
Name of the current PHP script: | examples.php |
Name of the loaded template: | tbs_us_examples_var.htm |
Directory of the loaded template: | ./ |
Creation date of the loaded template: | 17/06/2021 23:55:45 |
Current date-time: | 03/12/2024 16:49:00 |