开发者

Why would $this->data show up an empty array after submit?

开发者 https://www.devze.com 2022-12-24 14:24 出处:网络
In Cakephp Why would 开发者_如何学JAVA$this->data show up an empty array after submit? i am using the security component. $this->data would be empty if nothing had been submitted during a post action

In Cakephp Why would 开发者_如何学JAVA$this->data show up an empty array after submit? i am using the security component.


$this->data would be empty if nothing had been submitted during a post action from a form in most cases.

If in doubt, make sure that debug is 2 in your app/config/core.php and then

pr($this)

Which will show you everything in the app, and you can see if anything is missing. Unforunatly, with such a vague question, it's hard to give you a concise answer.


Probably there're something wrong with your form.

0

精彩评论

暂无评论...
验证码 换一张
取 消