Hello!
I am new to cakephp and I have a question about relationships between
tables in cakephp.

I have 2 tables related as described below:

1.entries
id
price1
price1_currency
price2
price2_currency
....

2.currencies
id
title

currencies would be something like:
1 USD
2 EUR
etc.

My question is how should I define relationships for these 2 tables so
when I add a new entry, the price1_currency and price2_currency to be
populated with a dropdown select containg the values from currencies.

Thanks,
Valentin

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