Hi all...

I aheve three tables

users (id, username...)
structures (id, name, def_quantity, def_price)
structures_users (id, user_id, structure_id, quantity, price)

i tried HABTM, but i have problem with saving other data than user_id/
structure_id.... please can you help me how to design it? I want to
one user can to have many structures but only of one type (structures
table).... do you know how to do it?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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