{% else-1 %}
Wins * 5.64
(2 ноя 2014, 12:26) (1/0) [1]
[code]
$arr = array('Ты', 'Бот');

$result = mysql_query("SELECT * FROM `dino_logi` ORDER BY `time` DESC LIMIT 100"*;
while($msg = mysql_fetch_assoc($result)){
$bot = $msg['bot'];
echo $arr[$bot] .'нанес удар';
}[/code]
Wins * 5.64
(2 ноя 2014, 11:51) (0/0) [0]
[code]if(empty($msg['bot'])) echo 'Вы нанесли удар';
else echo 'Бот нанес удар';[/code]
  • 1 из 1