For editing a particular student first we have to see all students in a view format.so editing has 2 main regions...
1.)Viewing all students:
These 3 steps will give uall the details of students in table format.Next we have to edit the particular student's data.
2.)Editing the particular student's data:
3.)On updating the data :
1.)Viewing all students:
- Create a method in student controller - show().
- Create a method in student_model - show_all().
- Create table view-show_all.php.
2.)Editing the particular student's data:
- Create a method in student controller edit().
- Create a method in model that fetches the data from the dable show_one().
Social Plugin