So basically you want to display all values of table
product_description_item?

>From your description I don't see that table product_description_item
relates to any table. As in, it doesn't store any id's of other
tables, am I correct?

I'd say just get all records from table product_description_item_id
and loop through the array to show a form. You may need to store some
flags/formtypes in the table to determine what exactly to show (eg
dropdown, multiselect, radio etc)  if some formfields aren't
displaying correctly.




On 23 jul, 22:09, Leandro <[email protected]> wrote:
> I have three tables in my database: product, product_description and
> product_description_item.
>
> The product_description_item table stores a lot of detail items about
> my product like: color, price and etc..
>
> The product_description table stores the product_description_item_id
> and the value that the user will input.
>
> What i want is to show all these items on my (/product/add/) submit
> form like if each row on the product_description_item table was an
> input field of the product, what is the best way of doing this?
>
> Thank you very much,
> Leandro

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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