title: Display Array Value in Header (H1) Tag
body: <p>I would like to use employee name in h1 tag. Can anyone please tell us how to do this. See the comment description for further info.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Employee Data&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;h1&gt;Employee Name is _______ &lt;/h1&gt; //I want to display employee name here
  &lt;?php
  error_reporting(0);
  include('config.php');
  $qry = "SELECT * FROM emp_data where eName='dinesh'";
  $result = mysql_query($qry) or die (mysql_error());
  echo '&lt;table cellpadding="0" cellspacing="0" class="edb-table"&gt;';
      while($row=mysql_fetch_array($result)) 
      {
          echo "&lt;tr&gt;&lt;td&gt;Name:&lt;/td&gt;&lt;td&gt;&lt;a href='emp_name.php?name=" . $row['emName'] . "'&gt;".$row['emName'] . "&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;";
          echo "&lt;tr&gt;&lt;td&gt;Date of Birth:&lt;/td&gt;&lt;td&gt;".$row['emDOB'] . "&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;"; 
          echo "&lt;tr&gt;&lt;td&gt;Department:&lt;/td&gt;&lt;td&gt;".$row['emDepart'] . " &lt;/td&gt;&lt;/tr&gt;";
      } 
  echo "&lt;/table&gt;";
  mysql_close();
  ?&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>