我有一套程序。我现在已经SQL配置应该没问题了。验证用户的代码<?
/*===================================================
  checkuser.php 登陆验证用户信息页面,后台的接口。
  ==================================================*/
session_start();//跨页面级变量开始
include("public.inc.php");
include("javascript/function.php");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>正在验证用户信息,请稍候....</title>
</head>
<body>
<?
if($login_member)
  {
    $shengfen=$province;//获取居住地地址
    $province=provinceok($shengfen);
    $shi=$city;
    $city=chengshi($shengfen,$shi);
    $result=mysql_query("select * from $agentinfo where username='$username' and password='$password' and province='$province' and city='$city'  ");//与数据库中的记录进行比较
//echo "select * from $manager where username='$username' and password='$password' ";
    //echo"select * from username where user='$username' and password='$password' and keshi='$keshi'";
$row=mysql_fetch_array($result);
$num=mysql_num_rows($result);//符合条件的记录数
    if($num>0)//有符合和用户输入相同的信息,登录成功
  {
  
$Agent=$username;
  session_register("Agent");
  if($province<>$city)
  $Agentaddress=$province.$city;
  else
  $Agentaddress=$province;
  session_register("Agentaddress");
  $jibie=$row[surrogatetype];
  session_register("jibie");
        echo"<script language='javascript'>";
        echo"alert('OK ^_^ 登录成功!!');";
      echo"location='Admin_index.php';";//导向后台
        echo"</script>";
  //echo "AdminName=".$AdminName."<br>";
  
      }
    else//登录失败,用户名或密码错误,或者数据库中暂无记录
      {
        echo"<script language='javascript'>";
        echo"alert('Sorry ^_^ 用户名/密码/区域选择错误!!');";
        echo"location='login.php';";//导向登录界面
        echo"</script>";
      }
}
else
{
echo "参数不足,无法登陆";
echo "<META HTTP-EQUIV='Refresh' CONTENT='3;URL=login.php'>";
}
?>
</body>
</html>为什么我登陆老是说参数不足,无法登陆这个应该是哪方面的问题?