Close, it should be:

postOfTheMonths

:-)

On May 28, 9:11 am, fain182 <fain...@gmail.com> wrote:
> > I'm having some trouble figuring out what the problem is here. Could
> > you clarify why you want a variable name with spaces?
>
> ok, i want to have a form->input() that make me a select, for example,
> if the field's name is group:
> in controller:
> $this->set('groups', $array_of_value);
> in view:
> echo $form->input('Group');
>
> but if the field name is like "post of the month" ?
> in controller:
> $this->set( ??, $array_of_value); // PostOfTheMonths doesn't work,
> postOfTheMonths neither
> in view:
> echo $form->input('post of the month');
>
> thank you
>
> --
> pietro
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to