| Current Path : /var/www/html/venkat/electiveaug22/ |
| Current File : //var/www/html/venkat/electiveaug22/btechmain.php |
<?php
include("sdesign.php");
/*
<?php
mysql_selectdb("upload") or die(mysql_error());
$quer1=mysql_query("select * from restriction where discipline='$r'") or die("Invalid Accessss !!!");
if($row = mysql_fetch_array( $quer1 ))
{
$ndate=$row['date'];
}
$my_t=date("Y-m-d");
if($my_t>$ndate)
{
$quer3=mysql_query("select * from cha where discipline='$r'") or die("Invalid Access !!!");
$i=1;
while ($row4 = mysql_fetch_array( $quer3 ))
{
$s34[$i]=$row4['elective'];
$i++;
}
$quer2=mysql_query("select * from electivesubmit where rollno='$s'") or die("Invalid Accessedrs !!!");
while ($row4 = mysql_fetch_array( $quer2 ))
{
$e21=$row4['e1'];
$e22=$row4['e2'];
}
$j=1;
$k=1;
while ($i!=$j)
{
if($s34[$j]==$e21 ||$s34[$j]==$e22 )
{
$k++;
}
$j++;
}
if($k!=1)
{
header("location:changestudent.php");
}
}
if($my_t<=$ndate)
{
?><td width="394"><a href="syllabus.php"> Syllabus </a></td>
<?php
}
else
{
?>
<td width="394">Syllabus </td>
<?php
}
?>
</tr>
<tr>
<td>Choose/Edit/View the Electives</td>
<td>:</td>
<td><a href="electives.php"> Choose/Edit/View <font color="red">(last date is <?php echo $ndate ;?>)</font></a> </td>
</tr>
</table>
</td>
</form>
</tr>
</table>
</center>
<a href="http://localhost/studentmain.php">Click Here for Home<a/>
*/