But When i have two model like User and UserType and in Users
controller right now i am using only UserType model so in the add.ctp
i metion  <?php echo $form->create('UserType',
> > array('action' => 'admin_add')); ?> it give me error "Controller missing"


On Sep 12, 6:43 pm, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote:
> > $form->create(string $model = null, array $options = array());
>
> from:http://book.cakephp.org/view/183/Creating-Forms
>
> On 12 Sep 2008, at 13:16,nayanwrote:
>
>
>
> > Thank you for reply.i wana to ask you one thing that i didnt fine any
> > where,we create form like this "<?php echo $form->create('Setting',
> > array('action' => 'admin_edit')); ?>" .Tell me first stands for what
> > (Here Seeting) means it is controller name or model name ....
>
> > On Sep 10, 7:16 pm, "Luiz Poleto" <[EMAIL PROTECTED]> wrote:
> >> Also, forget about using 'FanType/fantype_name'. Although it's still
> >> supported, now the correct way to use it is 'FanType.fantype_name'.
> >> Regards,
> >> Luiz Poleto
>
> >> 2008/9/10nayan<[EMAIL PROTECTED]>
>
> >>> I am using cake 1.2 .When i use "echo $html->input('FanType/
> >>> fantype_name')" in my form.it give me the following error
> >>> "Method HtmlHelper::input does not exist [CORE\cake\libs\view
> >>> \helper.php, line 148]".can we use html helper in cake 1.2 ?
>
>
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to