Hi!
---huhu.tpl---
<html>
<head>{TITLE}</head>
<body>{CONTENT}</body>
</html>
--ende--
Und die {} werden automatisch erkannt?
--index.php--
$tp=new templateEnginge();
$tp->set_file('huhu.tpl');
$tp->set_var('TITLE','Meine Seite [tm]');
$tp->set_var('CONTENT','Hier ist viel interessanter Text');
$tp->pparse();
--ende--
warum $tp->pparse();? was bewirkt das?
http://sf.net/projects/phplib/
http://pear.php.net/manual/en/packages.templates.php
http://www.phpinsider.com/php/code/Smarty/
Danke für die Links, muß ich mich wohl mal einarbeiten!
Grüsse
Andreas