On Feb 27, 4:51 am, Toutankharton <[email protected]> wrote:
> How can I have simply
>
>        [class_year] => 1997

Strange, I didn't realize year would format it that way.

You could also create a select box manually with your own associative
range array. Maybe something like:
$form->select('class_year', array_combine(range(1900, 2000), range
(1900, 2000)), $membre['Membre']
['class_year'], null, false);

That select should get you what you are looking for.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to