On Tue, Aug 11, 2009 at 3:10 PM, shakir33 <[email protected]> wrote:
>
> Hi everybody,
>
> i'm using symfony 1.2, and i have a problem with getting what the
> users wrote in the labels
>
> i try using
> $params = array(
> 'name' => $request->getParameter('nom'),
> 'email' => $request->getParameter('mail'),
> 'message' => $request->getParameter('msg'),
> );
>
> echo $request->getParameter('name');
>
> but i don't get the value of nom, i don't know what is the problem
> i have to get all the values of labels, and send it in mail
> it's very urgent so please somebady have a idea ??
>
>
> > you should use this syntax in your lib/forms
$this->widgetSchema->setLabels(array(
'name' => 'Name',
'email' => 'Email',
'message' => 'Message',
));
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---