| Current Path : /var/www/html/mmishra/mm/upp/admin/ |
| Current File : /var/www/html/mmishra/mm/upp/admin/profiles.php |
<b>Profiles</b>
<?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>";
}
?>