$sql="INSERT INTO user (username, passwd, phone) VALUES ('$_POST[username]','$_POST[passwd]','$_POST[phone]')";
这句话错哪了,单引号里不能有$?可是家{}啥的都试过了,没用啊