Free PHP Template engine makes HTML code clean and readable by separating application logic and content from its presentation. PHP Template is most useful in a situation where application programmer and template designer play different roles.
Php template engine Recommended:
Smarty
RainTPL
Dwoo
PHPTAL