PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Julien PACHET   Simplest Template   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: class use example
Class: Simplest Template
Template engine based on simple text replacing
Author: By
Last change:
Date: 17 years ago
Size: 357 bytes


Class file image Download

=new template("",'a');

$title="Title of my first templeted page!";
$body="Body of my page (little short!)";
$tail="Copyright Julien PACHET (lol!)";


// display!
echo $template->get();