A Simple PHP Template "Engine"

Here is a very simple template mechanism for dynamic web-site content generated by PHP. This approach lets you cleanly separate the "presentation logic" from the content or "business logic" without introducing the additional complexity of a separate template pseudo-language.