Help!!

I have this in schema:

documents_users:
   columns:
    document_id: { type: integer }
    user_id:     { type: integer }
    created_at:  { type: timestamp }

y en the form, i change the widget user_id for this:

'user_id'     => new sfWidgetFormDoctrineChoice(array('model' =>
'sfGuardUser', 'add_empty' => true, *'multiple'=> true*)),

In the form the widget is multiple option... but i want to save the form,
print error:

SQLSTATE[HY093]: Invalid parameter number: number of bound variables does
not match number of tokens
i net to save more inserts becouse i selected 2 users_id in the form...but
symfony dont save??
--
You received this message because you are subscribed to the Google Groups "symfony users" group.
To post to this group, send email to symfony-us...@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