I have a relationship that is similar to Authors and Books (Many to Many). So lets say I am adding the book on a web site form and I choose from a multi-select field two authors for said book. From my web environment, all I get is a list like [1,2] where 1 and 2 are the ids of the authors the user picked.
1) What is the best way to update my book to have the correct authors (keep in mind this has to work if we are adding the book or editing it) 2) When preparing to edit a book, what is the best way to get a list of author ids from books, so that I can use them to populate the authors form field? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" 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/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
