enrollmet id
This commit is contained in:
parent
b48aa26d42
commit
4f099b28f4
@ -1561,18 +1561,27 @@ if(count($qry)>0)
|
||||
|
||||
$Enrollment = $reqArr['EnrollmentID'];
|
||||
|
||||
$universityid = $reqArr['UniversityID'];
|
||||
|
||||
//echo $Enrollment ;
|
||||
|
||||
//print_r($reqArr);die();
|
||||
|
||||
|
||||
if($Enrollment !='')
|
||||
{
|
||||
|
||||
// echo 'in if';
|
||||
$this->db->select('*');
|
||||
$this->db->from('T_Student_CourseDetails');
|
||||
$this->db->where('EnrollmentID',$Enrollment);
|
||||
$this->db->where_not_in('StudentID', $reqArr['StudentID']);
|
||||
$this->db->where_not_in('CourseID', $reqArr['CourseID']);
|
||||
$this->db->where('UniversityID',$universityid);
|
||||
// $this->db->where_not_in('StudentID', $reqArr['StudentID']);
|
||||
// $this->db->where_not_in('CourseID', $reqArr['CourseID']);
|
||||
$qry=$this->db->get();
|
||||
$qry=$qry->result();
|
||||
|
||||
// print_r($this->db->last_query());die();
|
||||
|
||||
//echo count($qry);die();
|
||||
|
||||
if(count($qry)>0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user