I have two tables the user table and the student table, in my user table I have username, email, firstname, lastname, middlename while in my student table I have "course". How do I add in user table that the course table will also be affected.
I get this error:
Form instance already exists, cannot be recreated. Use instance() instead of forge() to retrieve the existing instance.
If you use a fieldset, you can use the add_model() method to add the fields of a second model in one go. That might not work well, for example if you have duplicate field names.
Alternatively, you can use add() to add individual fields to it.
And if it's a one-to-many, you can use the "tabular form" feature of the fieldset. That will give you a screen that is split in two: the top has a form for the parent model, and the bottom has rows for the child models. This for example allows you do generate a view for a user and all the courses the user has subscribed to. Note that is hasn't got pagination support, so only do this for a limited number of child rows.
which doesn't make sense at all, not to mention the fact that your models doesn't define any relations. So we have to fix that first: http://bin.fuelphp.com/snippet/view/Nc
I am also confused by the fact that you seem to have two controller that partly do the same thing. Then you seem to to have users, which may be parents, may be students, but I don't see any relation between parents and students (which seems logical). Also, I see multiple methods doing the same thing?