I'm very new to symfony, in fact I'm still reading the gentle intro and working through Jobeet, and this question is probably very simple (I hope!) as I image this comes up all the time.
Users will be creating recipes. I would like to keep another table of ingredients for autocompletion on the Create Recipe form. Clearly, not all recipes have the same number of ingredients and I can't imagine having a recipe table that has ingredient_id_1, ingredient_id_2, ingredient_id_3, etc! So, how can I store an arbitrary number of ingredients to a single field- "ingredient_ids." Is there a way to store an array? Or is it typical to just use a coma separated listing and parse it in the model? Thanks.Really just looking for best practice sorts of advice at this point so I can start to wrap my head around the method. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en
