首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > PHP >

php 注册有关问题 求解

2012-02-11 
php 注册问题 求解!Notice: Undefined variable: POST in D:\www\bbs\reg.php on line 5PHP code?php inc

php 注册问题 求解!


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


PHP code
<?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)</script>";}?><form action="reg.php" method="post">用户名:    <input type="text" name="username" /><br>确认密码:  <input type="password" name="password" /><br>邮箱:  <input type="text" name="email" /><br>  <input type="submit" name="submit" value="注  册"/>  <input type="reset" name="reset" value="重  置"/>  </form>


[解决办法]
,'$POST[username]','$POST[password]','$POST[email]' ???

$_POST

热点排行