Populate Dynamic Dropdowns List in Codeigniter
07:32 16 Jun 2016

Database inlcude Groups like Arts,Science and IT.By Choosing one Group Second Dynamic Dropdown appear which will show the Subjects Related to Group. This is my View

   
   
 

Enter Courses


session->flashdata('feedback')): $feedback_class = $this->session->flashdata('feedback_class'); ?>

'form-group']); ?>
'rollno','class'=>'form-control','placeholder'=>'Enter Student ROll NO']); ?>


'form-control btn btn- success','value'=>'Submit']) ?>

And This is Controller

   load->helper('form');
    $this->load->view('admin/course');
}
public function getsubject($grp)
{
        $this->load->model('courses');
$grp = $this->courses->getsubjects($grp);
  }}
     ?>

I didnt know how to do this in Codeigniter,Got helped from google like Ajax trickds but nothing

php jquery codeigniter model-view-controller