只可以用default 设置默认值,不在数组要写程序

解决方案 »

  1.   

    update teferee set send=1 where  journal=1 and (email <>$arrBccEmail[0] and .....);
      

  2.   

    用not in('var1','var2'...),如下:
    $emailArr=array('[email protected]','[email protected]');//要排除的email数组
    $emailInSql="'".implode("','",$emailArr)."'";
    $query="update teferee set send=1 where  journal=1 and email not in($emailInSql)";
    mysql_query($query);
      

  3.   

    csdn的bug,经常这样,受不了。特别是高峰期经常要结几次帖才能成功