| Current Path : /var/www/html/venkat/project-june2016/ |
| Current File : /var/www/html/venkat/project-june2016/hexcelview.php |
<script src="jquery.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
$('#discipline').change(function() {
$.ajax({
type: "GET",
url: 'disciplineh.php',
data: "discipline=" + $('#discipline').val(),
dataType: "html",
success: function(Response){
$("#subject1").children().remove();
$("#subject1").html(Response);
}
});
});
});
</script>
<?php
include("hhome.php");
?>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<form name="form1" enctype="multipart/form-data" method="post" action="hexcelprojectview.php">
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td colspan="3"><strong>View the details</strong></td>
</tr>
<tr>
<td width="250">Choose the Option</td>
<td width="16">:</td>
<td width="394">
<select name="option1" id="option1"/>
<option value="#">-Select-</option>
<option value="submitted">Not-Submitted</option>
<option value="verified">Not-Verified</option>
<option value="pending">Pending Projects</option>
<option value="rejected">Rejected Projects</option>
<option value="Faculty">Faculty</option>
<?php
$quer2=mysql_query("SELECT * FROM projectstudent group by semester") or die("Invalid Access !!!");
while ($row = mysql_fetch_array( $quer2 )) {
$m=$row['semester'];
echo("<option value=semester-$m>$m - semester</option>");
}
$quer2=mysql_query("select semester,dept FROM projectstudent group by dept,semester") or die("Invalid Access !!!");
while ($row = mysql_fetch_array( $quer2 )) {
$m=$row['dept'];
$m1=$row['semester'];
echo("<option value=dept-$m:$m1>Dept - $m - $m1</option>");
}
?>
</select>
</tr>
</div>
</tr>
<tr>
<td width="25"><input type="submit" value="Submit " /></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</center>