$query = "SELECT * from flow_report_priv where rid='".$rid."' and find_in_set('{$LOGIN_USER_ID}',user_str)";
//find_in_set(str,strlist);假如str在strlist之间,则找到。例:find_in_set('w','u,v,w,x,y,z'); //3