Hi

I must be missing something. I am using symfony 1.3 and trying to
update a record in an action but what happens is an "insert
into".which generates an integrity error.

Here is my code.

     $this->excursion =
Doctrine::getTable('TdExcursion')->find($request->getParameter('id'));

     $this->form = new TdExcursionForm($this->excursion);

     $this->form->bind($request->getParameter($this->form->getName()));

     if($this->form->isValid())
     {
       $excursion = $this->form->save();
     }

 If someone could point me in the right direction that would be excellent!

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to