load->view('include/header.php')?> load->model('WelcomeModel');?>
num_rows()>0) { $list=$subject_Det->row(); $id=$list->id; $code=$list->code; $name=$list->name; $facultyId=$list->facultyId; $description=$list->description; $facultyIds = explode(',', $facultyId); } ?>
WelcomeModel->getProjectList($id); //$numRows=$getFac->num_rows(); if(isset($getProjectList) && $getProjectList->num_rows()>0) { foreach($getProjectList->result() as $list) { $projectId=$list->id; $projectName=$list->projectName; $studentName=$list->studentName; $image=$list->image; ?>

No Projects Found

Faculty :
  • num_rows(); $i=0; foreach($facultyIds as $faculty) { $getFac=$CI->WelcomeModel->get_faculty($faculty); if($getFac->num_rows()>0) { $list=$getFac->row(); $facName=$list->name; } ?>

load->view('include/footer.php')?>