YII接收表单问题

WBOY
Release: 2016-06-23 14:22:12
Original
1079 people have browsed it

如图 这个$_POST['LoginForm']是怎么来的?LoginForm是form表单的name吗?


回复讨论(解决方案)

是POST中的一个值

不是,我前台页面没定义这个LoginForm的name

你的确没有也不必定义,Yii框架自动使用模型名定义了表单

------------------------------------------------------AutoCSDN签名档------------------------------------------------------

码农场??码农播种代码、放牧思想的农场! 

不是,我前台页面没定义这个LoginForm的name
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template