Category hasMany Post  , Post belongsTo Category , Post belongsTo
Locality

posts table must have these two fields:

category_id
locality_id

On Feb 17, 7:04 pm, andrewharlan <[EMAIL PROTECTED]> wrote:
> hello,
> i understand Post hasone category and hasone locality. but can i set
> category to $belongsto Post and locality as $belongsto Post ??
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to