| Current Path : /home/bolconlineco/public_html/aaaaaa/coordinator/ |
| Current File : /home/bolconlineco/public_html/aaaaaa/coordinator/assigbyid.php |
<?php
include('../includes/connection/func.inc.php');
$catId=$_POST['id'];
$rollno=$_POST['rollno'];
// where rollno=2249 This issue remains
$query="select * from topicassignment where tAId not in(select AssignmentName from studentassignment where rollno='$rollno' ) and topicId='$catId'";
$result=mysql_query($query) or die(mysql_error());
?>
<option value="">-- Chosse--</option>
<?php
while($row=mysql_fetch_array($result))
{
?>
<option value="<?php echo $row['tAId'];?>"><?php echo $row['name'];?></option>
<?php
}
?>