<div class="container bg-white mt-3 pt-3 pb-3">
    <div class="row">
        <div class="col-sm-12">
        
        <div class="table-responsive">
            <table class="table table-bordered table-striped bg-white">
                <thead>
                    <tr>
                        <th>#</th>
                        <th>Course Name</th>
                        <th>Course Stream</th>
                        <th>Students</th>
                        <th>View</th>
                    </tr>
                </thead>
                <tbody>
                    <?php
                    $count=0;
                    $table='courses';
                    $all_courses=$this->DeveloperModel->get_active_data($table);
                    if($all_courses){
                        foreach($all_courses as $courses){
                            $count=$count + 1;
                            ?>
                    <tr>
                        <td><?php echo $count;?></td>
                        <td><?php echo $courses['course']; ?></td>
                        <td><?php echo $courses['subject_stream']; ?></td>
                        <td></td>
                        <?php
                        // $get_course__students=$this->DeveloperModel->get_course_student_by_course_id();
                                                ?>
                        <td><a href="<?php echo base_url();?>Developer/update_course_id/<?php echo $courses['id']; ?>" class="btn btn-sm btn-info">Update Course Students</a></td>
                        
                    </tr>                            
                            
                            <?php
                        }
                    }
                    
                    ?>
                    

                </tbody>
            </table>
            
        </div>
        
        </div>
    </div>
</div>