1、确认库reguser存在
2、确认$users有值
3、改
$strSQL="select * from users where user=$users";
为
$strSQL="select * from users where user='$users'";
2、确认$users有值
3、改
$strSQL="select * from users where user=$users";
为
$strSQL="select * from users where user='$users'";
改为 $strSQL="select * from users where user= '".$users."'"; 试一下
Warning: main(chucuo.htm) [function.main]: failed to open stream: No such file or directory in C:\www\hehe\denglu.php on line 17Fatal error: main() [function.require]: Failed opening required 'chucuo.htm' (include_path='.;C:\Program Files\PHP Home Edition 2\Apache2\php\') in C:\www\hehe\denglu.php on line 17