I have a user table and an event table. while registering user can check the events they want to participate. Now my question is kinda PHP question first then CAKE.
I am thinking of maintaining transaction table where the fields will be id, user_id, event_id now question is : after adding the user successfully in the user table how to insert data in the transaction table. I figured out we can get the last inserted id by using getLastInsertID(). so we are getting the newly created user_id. But what to do after that I could not figure out. NB : The events are also dynamic fetched from a DB. Please let me know if I should clarify the situation more. Any kind of help will be highly appreciated. Thanks & Regards Suman --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---