Current File : /home/inlingua/www/icentex/attendance/ajaxoraltest.php |
<?php
$CID=$_REQUEST['CID'];
require('../dbConnection.php');
// Include common functions
require('../commonFunc.php');
// Include common functions
require('../globalVars.php');
// Include the table handler class
require('../dbHandler.class.php');
// Init and connect to database
$prodcat= new dbHandler();
$prodcat->connect();
$query="select * from ingl_student where courseId=".$CID." order by studentName ";
$result_prodcat=$prodcat->select($query);
$prodcat_array=array();
?>
<table border="1" width="50%">
<?php
echo "<tr><th align='center'>Student Name</th><th align='center'>Incenter No</th></tr>";
while($data_prodcat=$prodcat->SelectNext($result_prodcat)){
echo "<tr><td>".$data_prodcat['studentName']."</td><td><a target='_blank' href=ingl_test_oral.view.php?kV=".$data_prodcat['ref_No'].">".$data_prodcat['ref_No']."</a></td></tr>";
//$prodcat_array[''.$data_prodcat['id'].'']=$data_prodcat['description'];
}
?></table>