title: PHP - how to change meta contents of the page AFTER including header.php?
body: <p>Page.php</p>
  
  <pre><code>&lt;?ob_start():
  include('header.php');
  ?&gt;
  
  &lt;? $pageTitle='Page';
  echo 'body html';
  ?&gt;
  
  &lt;?
  $pg=ob_get_contents();
  ob_end_clean();
  echo str_replace('&lt;!--TITLE--&gt;',$pageTitle,$pg);
  ?&gt;
  </code></pre>
  
  <p>header.php</p>
  
  <pre><code>&lt;!-- Basic --&gt;
  &lt;title&gt;&lt;!--TITLE--&gt; | DEMO&lt;/title&gt;
  &lt;!-- Page Description and Author --&gt;
  &lt;meta name="description" content=""&gt;
  &lt;meta name="author" content=""&gt;
  </code></pre>
  
  <p>How do I include the meta description content and author content with other meta name in my page.php after inserting the header.php file at the top of the page? </p>