El miércoles, 12 de junio de 2013 22:42:04 UTC-5, rchavik escribió:
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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment