Easy PHP Template Quik and easy template system. does arrays or not.
$tags1 = array("TESTa1"=>"Testing once array","TESTa2"=>"testing twice array");
$tags = array("TEST3","TEST4"); $text = array("Testing once 3","testing twice 4");
no arrays $temp->replace("TEST1","Testing once"); $temp->replace("TEST2","testing twice");
files and/or strings. file?used $temp->load("test.tmp); file not used
$temp->load("",$string); both used $temp->load("test.tmp",$string);
class.EasyPHPTemplate.zip
Demo using multiple nested templates.
Demo
|