I want to make a php template engine with integrated functions. e.g.:
<html>
<head></head>
<body>
<tmp:if {-time-}<"12AM">Good Morning<tmp:else>Good Afternoon</tmp:if>
</body>
</html>
Or something like that. I have alredy made a function that replace {-VAR-} with relative db value but i need some html "functions".
Can you help me?