On Wed, 12 Jun 2013 20:19:12 -0700, alfredo davila wrote:

> ok, this is my View call add.ctp
> 
> <h2>Create an Account</h2>
> <?php echo $this->$form->create('User', array('action' => 'add'));
>   echo $this->$form->input('username');
>   echo $this->$form->input('password', array('type' => 'password'));
>   echo $this->$form->input('password_confirm', array('type' =>
>   'password'));
>   echo $this->$form->submit();
>   echo $this->$form->end();

What is $this->$form ?

Typically, it would be $this->Form->method()

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to