anyone could get errors... could you be more specific ? - what is the error you get ? - how does look your schema for the table ? - what is the query that are you trying to use ? - symfony version ? - what is the record you have ?
Please try to provide as more and detailed info as you can. --- EXAMPLE --- Hi all; I have an enum column with two choice, i write it in my yml schema like this : news: type: { type: varchar, sqltype:enum, size: "'request','offer'", default: request, required: true, notnull: true } the column is correctly generated this is part off my baseNewsForm.class.php : public function setup() { $this->setWidgets(array( ......., 'type' => new sfWidgetFormInputHidden(), ....... )); $this->setValidators(array( ......., 'type' => new sfValidatorPropelChoice(array('model' => 'News', 'column' => 'type', 'required' => false)) ......., )); } but when i try to save my news form i have always this form error : (type is invalide) Thanks --- EOF EXAMPLE --- Alecs On Mon, May 18, 2009 at 6:21 PM, flaquitqm <flaquitqm1...@gmail.com> wrote: > > I am trying to get data for a table with two id fields. When the table > is empty all is ok but, if is has only 1 row, a get an error. > Does Anyone can help my? > Excuse my bad English and thanks > Lynette > > > > -- I am on twitter: http://twitter.com/alecslupu I am on linkedIn: http://www.linkedin.com/in/alecslupu Tel: (+4)0748.543.798 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@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 -~----------~----~----~----~------~----~------~--~---