Thursday, December 23, 2010

HABTM Relations‏ CAKEPHP

hi

i need save an aditional field in join table, but don't find an
complete example that showing the correct way to do.

the question is as follows:

I have three tables as follow:

authors (id, name, lastname, nationality)
books (id, title)
authors_books(author_id, book_id,description) // Join Table

description is a extra field in the join table that I want to save,
when save an new author.


for their help I will stay very grateful

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate