PHP Classes

File: nested.tpl

Recommend this page to a friend!
  Classes of Evgeny   tplTemplatez   nested.tpl   Download  
File: nested.tpl
Role: Example script
Content type: text/plain
Description: example
Class: tplTemplatez
Template class used to separate PHP and HTML
Author: By
Last change: 1
Date: 20 years ago
Size: 732 bytes


Class file image Download
    <title>Nested block</title>

Example with nested dinamic block, <br>
you can have as many nested dinamic rows in template as you want.<br>
At least, it has been tested with 2 ones.

<table cellpadding="5" cellspacing="1">
<form action="{PHP_SELF}" method="post" name="form" id="form">
<!-- main dinamic block -->
    <tr bgcolor="#C0C0C0">
        Choose the option:
        <!-- nested dinamic block -->
        <input type="checkbox" name="my" value="{value}">{caption}<br>


    <input type="submit" name="submit" value="Submit">