yeah, that's obvious. i read the api and setup the select to work, i
just wonder why the bake didn't do that on his own..

thanks for youur answer.

On Jun 15, 4:12 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> You have to set the $s from your controller
>
> T
>
> On 6/15/07, phpjoy <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > hey,
>
> > i recently migrated to cake1.2, and i baked a project.
>
> > in the edit form, i had the following line:
> > $form->input('published', array('options' => $s));
>
> > the problem is that it doesn't work. it doesn't recognize $s.
> > Notice (8): Undefined variable: s [CORE\app\views\sections
> > \admin_edit.ctp, line 6
>
> > any ideas how i can fix this?
>
> --
> =============================================================
> Cheesecake-Photoblog:http://cheesecake-photoblog.org
> PHP for E-Biz:http://sanisoft.com
> =============================================================


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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