Hi, in my database I have a field named 'year' which has the type year(4). In the add form I would like to have a select field for the years. So I added this: e($form->year('year'));
If I try to save the form I get an "array to string conversion error" and "Unknown column 'Array' in 'field list". $this->data looks like this before saving: Array ( [Foo] => Array ( [bar] => xyz [year] => Array ( [year] => 1995 ) ) ) Do I have to fumble around with the array manually before saving or is there a proper cake-like way of handling this? Regards Guenther --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---