PHP项目,注册页面,请各位大大帮助。

WBOY
Release: 2016-06-13 12:04:15
Original
1002 people have browsed it

PHP项目,注册页面求助,请各位大大帮助。。

<br /><form method="post" id="regform"><label><em>E-Mail:</em><input<br />	type="text" name="email" /></label> <label><em>密码:</em><input<br />	type="password" name="password" /></label><label><em>确认密码:</em><input<br />	type="password" name="checkpass" /></label><label><em>昵称:</em><input<br />	type="text" name="nickname" /></label><br /><button type="submit">注册</button><br /><button type="button" onclick="go('member','login')">登录</button><br /><span id="messagearea"></span></form><br /><script type="text/javascript">form('#regform','member','savereg','#messagearea');</script><br /><br />
Copy after login

这是一个php的项目中的注册页面,当我填写信息,点击注册的时候,这个时候,会把这些数据传送到哪里?

但是这个项目我实在看不懂,还有最后的javascript代码 f orm在什么时候执行?是什么意思? 
------解决方案--------------------
点击“注册”将提交到当前页,即你存放这段代码的程序
后面的 js 代码你没有给全,不好说
------解决方案--------------------
点击注册,数据直接传递给你当前页面,你在代码后面贴一句
echo $_REQUEST["email"];
 ?>
填写Email框,点击注册就会显示了
你贴的代码应该不完整,应该还有其他的JS 文件引入,  后面的 script  里的  form  没有调用执行的代码
------解决方案--------------------
找go('member','login')
这个看他通去哪的?
------解决方案--------------------
......
看错了,原来问的是注册....

怎么编辑我的回复都不行?.......
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!