Home >Backend Development >PHP Tutorial >php 注册有关问题 求解

php 注册有关问题 求解

WBOY
WBOYOriginal
2016-06-13 09:59:47836browse

php 注册问题 求解!


Notice: Undefined variable: POST in D:\www\bbs\reg.php on line 5


PHP code
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><?php include("conn.php"); include("head.php");if(isset($_POST['submit'])) {    $sql="insert into user_list(uid,username,password,email,regdate)values('','$POST[username]','$POST[password]','$POST[email]',now())";   mysql_query($sql);    "<script language = \"javascript\">alert('添加成功');history.go(-1)";}?>
用户名:
确认密码:
邮箱:


------解决方案--------------------
,'$POST[username]','$POST[password]','$POST[email]' ???

$_POST
Statement:
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