I have one Model "Student " and i want to store his selected course i.e. showing as a checkbox and stored selected course in the database . I have a "Course" model with his unique id. I have not proper bind with his id when checkbox is checked.
Please anyone can give me a better solution .