<?php $title="New Title"; echo "<script>document.title = \"".$title."\" </script>"; include("newhtml.html"); ?>