Also, be sure to use a dot instead of a slash:

$form->input('Artist.name');

Happy baking!

On Jun 24, 11:51 am, Daniel Hofstetter <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > i get use the new cake version 1.2.0.7125 RC1,
>
> > i code the Html helper like before:
>
> > <?php echo $html->input('Artist/name');?>
>
> > but it got html:
>
> > <input name="Artist" name/>
>
> > could somebody tell me how should i do?
>
> HtmlHelper::input() is deprecated and shouldn't be used anymore. Most
> of it's functionality is now in the FormHelper, 
> seehttp://book.cakephp.org/view/182/form
>
> Hope that helps!
>
> --
> Daniel Hofstetterhttp://cakebaker.42dh.com
--~--~---------~--~----~------------~-------~--~----~
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