This commit is contained in:
gnieark 2015-11-29 00:04:13 +01:00
parent b7512b3a50
commit 9a542943b4

View File

@ -153,7 +153,7 @@ function save_battle($game,$bot1,$bot2,$resultat){
mysqli_query($lnMysql, mysqli_query($lnMysql,
"INSERT INTO arena_history(game,player1_id,player2_id,".$field.") VALUES "INSERT INTO arena_history(game,player1_id,player2_id,".$field.") VALUES
('"..mysqli_real_escape_string($lnMysql,$game)."', ('".mysqli_real_escape_string($lnMysql,$game)."',
'".$bots[$bot1]."', '".$bots[$bot1]."',
'".$bots[$bot2]."', '".$bots[$bot2]."',
'1') '1')