title: Lightbox not showing php
body: <p>I'm working for a system by the use of php. We have an admin.php page where all the list of applicants were listed. And we want that when we click on a specific applicant's name, a lightbox would appear that will show more information about the applicant. But, these codes below seems to be not working and I don't know why. I am a newbie in php btw.</p>
  
  <pre><code> &lt;?php
  
  include('config.php');
  
  $result = mysql_query("SELECT * FROM employee as t1")
  
  
  
  or die(mysql_error());
  
  echo "&lt;table border='0' cellpadding='15' text-align = 'center' &gt;";
  
  echo "&lt;tr&gt;";
  echo " &lt;caption&gt;&lt;b&gt;&lt;font size = '5'&gt; &lt;h2&gt;List of Applicants &lt;/h2&gt; &lt;/b&gt; &lt;/font&gt;&lt;hr&gt;&lt;/caption&gt;";
  
  echo "&lt;th&gt;Applicant ID&lt;/th&gt;";
  echo "&lt;th&gt;Application Date&lt;/th&gt;";
  echo "&lt;th&gt;Name&lt;/th&gt;";
  echo "&lt;th&gt;Job&lt;/th&gt;";
  echo "&lt;/tr&gt;";
  
  while($row = mysql_fetch_array( $result ))
  {
  
  echo "&lt;tr class='gradeC'&gt;";
  
  echo '&lt;td&gt;&lt;b&gt;&lt;font color="#663300"&gt;' . $row['employee_id'] . '&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;';
  echo '&lt;td&gt;&lt;b&gt;&lt;font color="#663300"&gt;' . $row['date'] . '&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;';
  echo '&lt;td&gt;&lt;b&gt;&lt;font color="#663300"&gt;&lt;a href="admin.php?hello=true"&gt;' . $row['fname'] . '&lt;/a&gt;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;';
  echo '&lt;td&gt;&lt;td&gt;';
  echo "&lt;/tr&gt;";
  
  }
  echo "&lt;/table&gt;";
  function runMyFunction() {
  echo "&lt;div onclick =\"document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'\"&gt;&lt;/div&gt;";
  echo "&lt;div id=\"light\" class=\"white_content\"&gt;This is the lightbox content. &lt;a href = \"javascript:void(0)\" onclick = \"document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'\"&gt;Close&lt;/a&gt;&lt;/div&gt;";
  echo "&lt;div id=\"fade\" class=\"black_overlay\"&gt;&lt;/div&gt;";
  
      }
  
    if (isset($_GET['hello'])) {
        runMyFunction();
    }
  
   ?&gt;
  </code></pre>
  
  <p>I'm not sure but I think the problem is in the function, or the way I'm using the codes for lightbox to appear.</p>