Вылечить у всех травмы
select("SELECT `travm_old_stat`, `travm_stat`, `login` FROM `characters`;"); foreach ($rows as $data) { $who = $data['login']; $o_stat = $data['travm_old_stat']; $t_stat = $data['travm_stat']; $sql = $adb->query(" UPDATE `characters` SET `$t_stat` = '$o_stat', `travm` = '0' WHERE `login` = '$who'; "); } echo "Все игроки вылечены."; } ?>