$query="select * from user where name="+$admin+" and password="+$password;改为$query="select * from user where name='".$admin."' and password='".$password."'";
$query="select * from user where name=1234 and password=12345"; 可以通过,这是为什么啊
$query="select * from `user` where `name`='$admin' and `password`='$password'";
可以通过,这是为什么啊