first try process the array,

$result = array(first, second, etc);

may be with split or xplode

and after save this in your db


On Wed, Oct 7, 2009 at 10:45 PM, Bhumika Gohil <[email protected]> wrote:
>
> Hello Dennis
>
>    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
>
>
>
> >
>

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