Yes, I create the relation with the tables.. but the widget is multiple = true print this error, but is false no print error:
THE ERROR: *Notice*: Undefined offset: 2 in * C:\development\sfprojects\bambu\lib\vendor\symfony\lib\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine\Connection\Pgsql\Exception.php * on line *101* * * *SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens* 2010/1/15 Javier Garcia <tirengar...@gmail.com> > On 01/14/2010 11:20 PM, Gabo wrote: > > 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. > > > Hi, > > could you send the part that appears below the error message? > > Javi > > -- > 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<symfony-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > >--
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.