= ? and exp < ?'; $botUsers = Db::getRows($getBotsQuery, [300000,3000000]); print_r($botUsers); for ($i = 0; $i < 2; $i++) { shuffle($botUsers); $botInfo = array_shift($botUsers); $botData = [ 'id' => $botInfo['id'], 'login' => $botInfo['login'], 'level' => $botInfo['level'], 'city' => $botInfo['city'], 'cityreg' => $botInfo['city'], 'name' => $botInfo['login'], 'sex' => $botInfo['sex'], 'time_reg' => time(), 'obraz' => $botInfo['obraz'], 'stats' => $botInfo['stats'], 'upLevel' => $botInfo['upLevel'], 'priems' => $botInfo['priems'], 'loclon' => true, ]; echo '
';
    print_r($botData);
}