title: Convert PHP file to HTML
body: <p>(I use Wamp64)
  I have a simple PHP file, but when I change the .php extension to .html, the page doesn't shows up correctly.
  This is my PHP file:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;?php
  require ('steamauth/steamauth.php');
  ?&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;page&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;?php
  if(!isset($_SESSION['steamid'])) {
  
      echo "welcome guest! please login&lt;br&gt;&lt;br&gt;";
      loginbutton(); 
  
  }  else {
      include ('steamauth/userInfo.php');
  
  
      echo "Welcome back " . $steamprofile['personaname'] . "&lt;/br&gt;";
      echo "here is your avatar: &lt;/br&gt;" . '&lt;img src="'.$steamprofile['avatarfull'].'" title="" alt="" /&gt;&lt;br&gt;';
  
  logoutbutton();
  }    
  ?&gt;  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And this is my page (with .html extension):
  <a href="https://i.stack.imgur.com/QkvWA.png" rel="nofollow noreferrer">html page</a></p>