Thanks for solution.

Now I have successfully store value database with comma separate.

But How I will retrive it.

I want to display selected value in multiselect dropdown,

Thanks



iFlairEmp12 iFlairEmp12 wrote:
>
>
> On Thu, Oct 8, 2009 at 2:04 PM, Alexandru-Emil Lupu 
> <[email protected] <mailto:[email protected]>> wrote:
>
>     you might wanna override the "bind" method of your form by
>
>     public function bind(array $taintedValues = null, array
>     $taintedFiles = null)
>
>     {
>
>     $taintedValues['countries'] =
>     implode(',',$taintedValues['countries']);
>
>     parent::bind($taintedValues, $taintedFiles);
>
>      }
>
>     of something similar...
>
>
>     On Thu, Oct 8, 2009 at 11:25 AM, Bhumika Gohil <[email protected]
>     <mailto:[email protected]>> wrote:
>
>
>
>         Hello
>
>            I have below Problem in my symfony , If possible then help me
>
>
>         I used following code to display multi-selected drop down box for
>         country ..
>
>         $this->widgetSchema['countries'] = new
>         sfWidgetFormDoctrineChoice(array
>         (
>         'model' => 'Countries',
>         'multiple' => true,
>         ));
>
>         and now I want to save these multi-selected values in database by
>         comma separated or in another table
>
>
>
>         but it is saving "Array" string into database ...
>
>
>
>         Thanks
>
>
>
>
>
>
>
>
>
>
>
>     -- 
>     As programmers create bigger & better idiot proof programs, so the
>     universe creates bigger & better idiots!
>     I am on web:  http://www.alecslupu.ro/
>     I am on twitter: http://twitter.com/alecslupu
>     I am on linkedIn: http://www.linkedin.com/in/alecslupu
>     Tel: (+4)0748.543.798
>
>
>
>
> Thanks for solution.
>
> Now I have successfully store value database with comma separate.
>
> But How I will retrive it.
>
> I want to display selected value in multiselect dropdown,
>
> Thanks
>
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to