Login   Register  
PHP Classes
elePHPant
Icontem

File: program.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tomas B  >  phpEngine  >  program.php  >  Download  
File: program.php
Role: Example script
Content type: text/plain
Description: PHP test file
Class: phpEngine
Regular expression match based template engine
Author: By
Last change: Sample file of phpEngine function usage
Date: 9 years ago
Size: 443 bytes
 

Contents

Class file image Download
<?php

require_once("phpEngine_run-up-1.1.2.php");

$e =& new phpEngine;

$e->assign("var1""This is a user assigned variable");
$e->assign("filename""example.pat");
$e->assign("include""include.pat");

$data_array = array(
    array(
"Max""1072908000"), 
    array(
"Liz""1076796000"), 
    array(
"Maria""1078178400")
);
$e->assign("loop_name"$data_array"name, unix_time");

$e->output("thisisonlyatest.pat"true);

?>