Mistři v programování na #hovnokod

while(!$a){
      $rd = rand(1,999999);
      $mdrd = md5($rd);
      db_query("SELECT * FROM players WHERE mdid = '$mdrd' LIMIT 1;");
      $fla = db_fetch();
           if(empty($fla))
           $a=1;
           }

Anonymous,