开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜