Hi ralph, Probably, I mean't both, simplifying code and optimizing performance. But given the status of my project, I think right now I am more concerned with simplifying the code. I was able to achieve some degree of simplification by creating a method in App_model class that check if the records exists or not. If not then save the data and return its id otherwise retreive the appropriate record and return its id.
Regards Bingo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
