Codeigniter: State Machine how to
- by Kevin Brown
I created a db row called "activity_state" to denote which things a user has and hasn't completed.
The problem is, I don't know how to use it... How can I use this single row to determine what a user has done?
ie. have they completed their profile?, have they completed an assignment?
Someone mentioned using it as a bitfield, but I'm unfamiliar with that. Is that a good idea?
Any ideas?