PHP Classes

File: tutorial2.php

Recommend this page to a friend!
  Classes of Spank Mayer   hierarchytemplate   tutorial2.php   Download  
File: tutorial2.php
Role: Example script
Content type: text/plain
Description: Script Example 2
Class: hierarchytemplate
Template engine that can handle more than one file
Author: By
Last change: to the new versio
Date: 20 years ago
Size: 857 bytes


Class file image Download

$tpls = new template;

$tpls->t["MAIN"]->Values(Array("Time"=>Date("Y.m.d. H:i:s")));

$Art_URL=Array("Tangerine Dream"=>"",
"Klaus Schulze"=>"",
"Loreena McKennitt"=>"",
"Mike Oldfield"=>"");

$Art_URL as $Art=>$url){
//ROWS is a included child template.
    //his value must lift up into the parent template