Hi again,
you forgot to call $this->form->save();

Hope this helps,
Pietro

hello  every body

i put this code

  public function executeCreate(sfWebRequest $request)
  {

  $this ->  formpersonne= new personneForm();
  $this->form = $this->configuration->getForm($this->personne);

if ($request->isMethod('post'))
{
$this->form->bind($request->getParameter($this->form->getName()));

if ($this->form->isValid())
{

$head = "From: Admin<.$email_admin.>\n";

  $object  = 'inscription reussite';
  $message='je vous informe  que vous êtes  inscrit dans  votre association';
  $email=$this->form->getValue('Email');

mail($email, $object, $message, $head);
sfView::NONE;

return $this->redirect($this->getRequest()->getReferer());

}

the MSG has be  send successfuly  but  the  data  doest  add in the database


thank you


--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to