I'll assume that you have a dvds_genres table with dvd_id and genre_id columns and the you have set up genre.php and dvd.php models to hasAndBelongToMany each other
and that you have looked at the http://manual.cakephp.org/chapter/models page down near the bottom where it talks about this type of relation and that you have also re-baked any views and controllers. If so please post some code samples to http://bin.cakephp.org/ (probably models, and at least one controller and view) so we can see what you have done. On 11/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have tried using the bake.php script with a Dvds hasAndBelongsToMany > Genres and it doesnt work. When adding a new DVD, it has a text box > for me to enter the genre id number. How should my dvds table be setup? > > > > > -- == S. DeVore (the old fart) the advice is free, the lack of crankiness will cost you --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
