
PK 
<?php
include".././includes/dbconnect.php";
$sql="SELECT certypo FROM certificates WHERE certificateno='$_GET[id]'";
$result=mysql_query($sql) or die('error in fetching');
while($row=mysql_fetch_array($result))
{
$certifi="{$row['certypo']}";
}
if($certifi=='a')
{include"alp.php";}
elseif($certifi=='b')
{include"afas.php";}
elseif($certifi=='c')
{include"nspm.php";}
else
{
echo"<p align=center>PLEASE SELECT A CLIENT FIRST TO START ISSUING A CERTIFICATE TO,<BR><BR> <a href=certificate.php>Click here to start again!</a></p>";
}
?>


PK 99