num_rows()>0)
{
$list=$subject_Det->row();
$id=$list->id;
$code=$list->code;
$name=$list->name;
$subtitle=$list->subtitle;
$facultyId=$list->facultyId;
$teachingAssistant=$list->teachingAssistant;
$description=$list->description;
$facultyIds = explode(',', $facultyId);
$taId = explode(',', $teachingAssistant);
}
?>
WelcomeModel->getSubjectImage($id);
//echo $this->db->last_query();exit;
if(isset($getSubjectImage) && $getSubjectImage->num_rows()>0)
{
foreach($getSubjectImage->result() as $view)
{
$imageid=$view->id;
$imagetitle=$view->title;
$iimage=$view->image;
?>
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;
?>
=$imagetitle;?>
No Projects Found
=$code;?>
=$name;?>
=$subtitle;?>
=$description;?>