Hi,
I cant get my model association working.Im going through the manual
but Im not able to figure out where im going wrong.
I have a User model => username,password,id,type(owner/incharge/both)
and email.
primary key -> id
then there is an Equipment model => type(product type),equipment
no,owner,incharge,dateofpurchse.
Primary key -> eqno
Foreign Keys ->owner,incharge
The user hasMany Equipment.
The owner and incharge people are different i.e they both reference
the users table.
How do I associate the models??
Please help me!
Thanks!
Kashyap


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to