Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/mm/upp/
Upload File :
Current File : /var/www/html/mmishra/mm/upp/profiles.php

<span style="color:green;font-weight:bolder;background-color:khaki;padding:5px">Profiles</span>
<table id='khaki_box' width='100%'><tr><td>
<?php
if (isset($_GET['code'])){
  $code = $_GET['code'];
  $rs = mysql_query("select * from information where code='$code'", $link);
  if ($rs){
    echo "<table width='100%'>";
    echo "<tr><th>PP No.</th><th>Name</th><th>Cadre</th><th>Rank</th></tr>";
    while ($o = mysql_fetch_object($rs)){
      $id = $o->id;
      $pp_no = $o->pp_no;
      $name = $o->name;
      $cadre = $o->cadre;
      $rank = $o->rank;
      echo "<tr><td><a href='profile.php?code=$pp_no'>$pp_no</a></td><td>$name</td><td>$cadre</td><td>$rank</td></tr>";
    }
  }
  echo "</table>";
}
?>
</td></tr></table>