For example, in my website, I have a Users database. Each user has many jobs. I would like a Jobs database with 2 columns; user_id & job.
How would I make a model & controller(?) without views. Is it any different?
thanks =)
Answers to your questions
For example, in my website, I have a Users database. Each user has many jobs. I would like a Jobs database with 2 columns; user_id & job.
How would I make a model & controller(?) without views. Is it any different?
thanks =)
Are you describing a many-to-many connection? IE users have many jobs, and jobs have many users? Or do jobs just have one user?