title: how can i create a dynamic page title in PHP
body: <p>i want to create a dynamic title page for my website with php but i can't do it. please tell me better suggestion how can i learn it and also give me the tutorial link. </p>
  
  <p>i explain that</p>
  
  <p>here is my index.php file and another file is <code>header_final.php</code>. in the bottom of the header_final.php some button like home,how to apply,seat plan. i want to do that, when a button click then different page title is coming. that's my question. please help me... </p>
  
  <p>index.php</p>
  
  <pre><code>&lt;?php 
      include("include/header_final.php");
  
  ?&gt;
  
  
  
  
  
  &lt;div id="page"&gt;
      &lt;div id="page-bgtop"&gt;
          &lt;div id="page-bgbtm"&gt;
              &lt;div id="content"&gt;
                  &lt;div class="post"&gt;
                      &lt;h2 class="title"&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/h2&gt;&lt;br&gt;
  
                      &lt;div class="entry"&gt;
                          &lt;p&gt;&lt;img src="images/img08.jpg" width="538" height="200" alt="" /&gt;&lt;/p&gt;
  
  
                      &lt;/div&gt;
                  &lt;/div&gt;
  
  
  
                  &lt;div class="post"&gt;
  
  
                  &lt;/div&gt;
                  &lt;div style="clear: both;"&gt;&amp;nbsp;&lt;/div&gt;
              &lt;/div&gt;
              &lt;!-- end #content --&gt;
  
  
  
  
  
  
  
  
  
  
  
  &lt;?php
  
  include ("include/footer_final.php");
  
  ?&gt;
  </code></pre>
  
  <p>header_final.php</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;meta name="keywords" content="" /&gt;
  &lt;meta name="description" content="" /&gt;
  
  &lt;title&gt; &lt;/title&gt;
  
  
  
  &lt;/head&gt;
  &lt;body&gt;
  
  
  
  
  
  &lt;div id="wrapper"&gt;
  &lt;div id="header"&gt;
      &lt;div id="logo"&gt;
  
      &lt;/div&gt;
      &lt;div id="menu"&gt;
          &lt;ul&gt;
      &lt;li class="first current_page_item"&gt;&lt;a href="index.php"&gt;Home&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="apply.php"&gt;How to Apply&lt;/a&gt;&lt;/li&gt;
  
  
          &lt;/ul&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>