> I know the right approach for something like this is the HABTM, but I > really need to just store the selected options in a single database > field.
Well, it is true that that you should have a proper many-to-many DB implementation, but if you REALLY want to hack it like that... All you need to do is create a multivalue select input. After that it's only a matter of hacking: your field will be (for example) comma- separated, so all you need to do is split and join selected values and select them in the view / insert them in the database. Hope that helps, dr. H. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
