Switch from HTML to PHP for pages