Dirk - you were right! First, I replaced the $this->Applicant->save($this->data); line with a direct SQL query, inserting a record. Lo and behold, it inserted 3 records, exactly the same as before.
I went to the layout file (I was using the default cakephp layout) and removed the favicon.ico reference. Bingo - only one record gets inserted. I put back the $this->Applicant->save($this->data); line and removed the direct SQL query line - again, it worked flawlessly, with only one insert. So, the question is, why does a separate call to a non-existent favicon.ico file cause CakePHP to execute the controller several times?? Thank you everyone for your help!!! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
