Hi Jacek, Not too dificult I don´t think (don´t create 2 tables for Cities!), Just browse here: http://wiki.cakephp.org/docs:understanding_associations#associations_notation.
Note that for each association ( you have 2 belongsTo for Cities, and 2 HasOne for Courses) you will need to define the foreign key to use and a name. If you scaffold it first, you can see results (and errors if appropriate) as you go. Cheers, AD7six --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
