Re: Many to many relations and Froms
Hi Marco, no, it dont help in any way because i don't ask for fixtures on n2n-Models. I ask how i can use it in a Controller and how i use it in a view for viewing, creating and editing a new records for the above example. Best regards, Kai. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Many to many relations and Froms
This article with help you http://blog.endpoint.com/2009/11/test-fixtures-for-cakephp-has-and.html -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Many to many relations and Froms
Hi! I have a problem understanding "n-to-m" relations and how to integrate it in a view (inputform and showing content). Following situation: table zoos fields: id, name table animals fields: id, name table zootoanimalmappings fields: id, zoo_id, animal_id Now i wan't top create a view where i can enter: Zooname All Animals that resists in that zoo But i dont know how to do this in a view and what the controller have to do (i think it have to select/set all posible animals for the view...but how do i put it in the data-array for later saving?). Thanks for your help! Best regards, Kais. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.