好像没有循环起来,而且 肯定不是  ($group_sql)){最起码也因该是row_mt == mysql_fetch_row($group_sql)){

解决方案 »

  1.   

    while($row_mt = mysql_fetch_row($group_sql)){...}
    这个绝对没问题
      

  2.   

    应该是echo"<option value=\".$row_mt[0].\">\".$row_mt[1]."</option>";
      

  3.   

    既然不报错那就让它报错嘛!
    @mysql_query($sql_c,$this->Link_ID);
    =>
    mysql_query($sql_c,$this->Link_ID) or die(mysql_error());mysql_query($sql,$this->Link_ID);
    =>
    mysql_query($sql,$this->Link_ID) or die(mysql_error());
      

  4.   

    $sql_c="create temporary table my_tb1 select vp.groupid,vp.mt_id from vp,playergroup p where vp.groupid = p.group_id and p.groupclass='a'";
    本句用于产生临时表,其内容要满足条件vp.groupid = p.group_id and p.groupclass='a'
    你应该先检查该表是否有内容!
    $sql="select v.mt_id, v.playername from vmatstatus v left join my_tb1 on v.mt_id = my_tb1.mt_id where my_tb1.mt_id is null";
    本句用于检索v.mt_id 不在my_tb1表中的内容
    你需要确认该条件是否能满足!
      

  5.   

    ok 搞定 sql语句没问题 是引用得class出问题了