I am trying to link two tables, states and registered_states. The states table has id, name, and code as fields, and registered_states has states_id.
I defined as hasMany association in the registered_states model, and now want to produce a list of all the registered states and their associated state. I'm getting the list of registered states, but no state data: Array ( [0] => Array ( [RegisteredState] => Array ( [states_id] => 10 ) [State] => Array ( ) ) ) What I'm particularly interested in retrieving is the state code for each registered state. How can I accomplish this? -Erich- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---