title: Include PHP file into HTML file
body: <p>I'm working on a project that may have to change the same content on all html pages. So I figured I would create a php file and only have to change that so it changes on all pages over the web.</p>
  
  <p>The files are saved as:</p>
  
  <pre><code>index.html
  number.php
  </code></pre>
  
  <p>EXAMPLE:</p>
  
  <p>------------------------(HTML FILE)----------------------------</p>
  
  <pre><code>&lt;html&gt;
     &lt;head&gt;
        &lt;title&gt;Home&lt;/title&gt;
     &lt;/head&gt;
     &lt;body&gt;
        &lt;h1&gt;Phone Number&lt;/h1&gt;
        &lt;?php include('number.php') ?&gt;
     &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>------------------------(PHP FILE)----------------------------</p>
  
  <pre><code>&lt;?php
     echo 4895553268;
  ?&gt;
  </code></pre>
  
  <hr>
  
  <p>What could I do without changing the file extension of all my html's into php. I've found that works but I would like to only change the code in the html page. I've tried include require tags and that didn't work so I tried script tags and can't seem to make it work right.</p>