Maison > Article > développement back-end > php 注册有关问题 求解
php 注册问题 求解!
Notice: Undefined variable: POST in D:\www\bbs\reg.php on line 5
<!-- 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)"; } ?>