Hello all, How do you treat model fields that may have many values ?
I guess it is a bad idea to store multiple values in a single field, i.e. in this fashion : field : 1,0,1,0,1,1 lets say this field can store six values as a comma separated string. This is how i already implemented it... Do you agree that i'll be better of using a HABTM relation between the fields and possible values via a lookup table ? (like the Post<->Tag example from the manual?) If so, can somebody point me to the Tag model, which has been omitted in the manual ? It just lists the code for the Post model, and i think there have to be declared something similiar for the Tag model as well... Thanks ! Jyrgen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
