PHP Classes

File: Example3/index.php

Recommend this page to a friend!
  Classes of Volkan Küçükçakar   DEV Template Class   Example3/index.php   Download  
File: Example3/index.php
Role: Example script
Content type: text/plain
Description: Example 3
Class: DEV Template Class
Template engine with theme and insert support
Author: By
Last change:
Date: 18 years ago
Size: 327 bytes
 

Contents

Class file image Download
<?
   
//Example 3 - Complex Usage

   
require('../class.DevTemplate.php');
   
$template=new DevTemplate();
   
$date=date("F j, Y, g:i a");//date to insert
   
$template->express("_template.html","_page1.html","mainpart",array("hello=HELLO WORLD !","date=$date","title=This page title inserted dynamically..!"));

?>