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 [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
-~----------~----~----~----~------~----~------~--~---