On Jun 7, 9:18 am, Joel Perras <[EMAIL PROTECTED]> wrote:
> Ok, I'll attempt to re-iterate what you are attempting to do, because
> it is not completely clear to me:
>
> 1) You want to be able to 'add items to an apartment', where items <-
> HABTM-> apartments.
> 2) This should be accomplished through an HTML select drop-down, which
> would be populated with all the items contained within your items
> table.
Well, like I said, I'm not sure if that is the correct way to do it.
> ** The above point seems odd to me, since I'm guessing you would like
> to have the ability to input many different items (of various
> quantities) for each apartment.
Yes, that exactly what I'm trying to do. So at first, I had three
tables: 1. items; 2. units; 3. inventory;
The inventory table holds records with unit, item, and amount. So then
I can run a query where unit = ? and show everything in a certain
unit. Seems the most straight forward way to go about it. Then I
realized CakePHP is much more structured than other "frameworks" I've
used, and I wanted to use what methods CakePHP provided me with.
Thanks for your advice. BTW, there's no rush on this one.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---