| Current Path : /var/www/html/venkat/elective20dec2016/ |
| Current File : /var/www/html/venkat/elective20dec2016/saelective.php |
<?php
include("sdesign.php");
//$truncated = substr($s, 1, 2);
$truncated = strtolower($truncated);
include("condition.php");
/*if($truncated =='it' || $truncated =='ri' || $truncated =='ec'){
if($truncated == 'ri') {
$truncated1= 'itelectivesubmit';
}
else {
$truncated1= $truncated.'electivesubmit';
}
}
else {
$truncated1= 'melectivesubmit';
}*/
$quer1=mysql_query("select rollno, discipline, basket, fe from $truncated1 where semester = '$semester' and rollno = '$s'") or die("Invalid Access !!!");
?>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td colspan="5"><strong>Final Alloted Electives (it is final only after the confirmation mail from HOD) </font></strong></td>
</tr>
<tr> <td> Roll No. </td> <td> Discipline </td> <td> Basket </td> <td> Elective </td> </tr>
<?php
while ($row = mysql_fetch_array( $quer1 )) {
$rollno =$row['rollno'];
$discipline =$row['discipline'];
$basket =$row['basket'];
$fe =$row['fe'];
$quer3 = mysql_query("select subject from matrix where semester = '$semester' and discipline='$truncated' and coursecode = '$fe' and basket='$basket'") or die("Invalid Access21 !!!");
if ($row1 = mysql_fetch_array( $quer3 )) {
$subject = $row1['subject'];
}
echo("<tr><td> $rollno </td> <td> $discipline </td> <td> $basket </td> <td> $fe - $subject </td></tr>");
}
?>
</table>
</table>
<center><font color="green"> Allotment will be done after the last date of elective submission. </font> </center>