hi all, I'm trying to create my first website with symfony framework, I have create a simple form, and I try to sent the datas to the mysql database (using propel). when I click to the button for submit, then this message appears:
Fatal error: Call to undefined method DocumentForm::save() in /var/www/ sf_sandbox/apps/frontend/modules/document/actions/a ctions.class.php on line 11 the structure of actions.class.php is: class documentActions extends sfActions { public function executeIndex(sfWebRequest $request) { $form = new DocumentForm(); if ($request->isMethod('post')) { $form->bind($request->getParameter('document')); $form->save(); $this->redirect('@homepage'); } $this->form = $form; } } can you help me please. cordially. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@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 -~----------~----~----~----~------~----~------~--~---