Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of txaresoft  >  txtemplate  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: sample
Class: txtemplate
Process and output templates as PHP scripts
Author: By
Last change:
Date: 2012-09-12 07:43
Size: 176 bytes
 

Contents

Class file image Download
<?php

    
include_once "./tx_templates.inc.php";
    
    
$template = new tx_template("./test.html", array('variable' => 'valor de prueba'));

    echo 
$template->output();
?>