PHP Classes

File: dinamic.tpl

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

Contents

Class file image Download
<html>
<head>
    <title>{title}</title>
</head>

<body>
You can have as many dinamic rows in template as you want.<br>

<form action="{PHP_SELF}" method="post" name="form" id="form">
   
    <tmpl:row_checkbox>
    <input type="checkbox" name="checkbox" value="{value}">{caption}<br>
    </tmpl:row_checkbox>
   
    <br><br>
    <select name="select">
        <tmpl:row_select>
        <option value="{value}">{caption}</option>
        </tmpl:row_select>
    </select>
    <br><br>
   
    <input type="submit" name="submit" value="Submit">

</form>

</body>
</html>