example of basic php templating

in response to question:
http://stackoverflow.com/questions/24599264/php-using-a-variable-from-an-include