.
This commit is contained in:
parent
a7506f1462
commit
b403c053e7
|
@ -49,7 +49,7 @@ function play($map,$colToPlay,$me,$opponent,$gameid,$player_index){
|
||||||
global $lnMySQL;
|
global $lnMySQL;
|
||||||
|
|
||||||
//save the lap on the database and then send the play response
|
//save the lap on the database and then send the play response
|
||||||
mysqli_query(
|
mysqli_query($lnMySQL,
|
||||||
"INSERT INTO battleship_current (game_id,player_index,map,play_at) VALUES
|
"INSERT INTO battleship_current (game_id,player_index,map,play_at) VALUES
|
||||||
('".mysqli_real_escape_string($lnMySQL,$gameid)."',
|
('".mysqli_real_escape_string($lnMySQL,$gameid)."',
|
||||||
'".mysqli_real_escape_string($lnMySQL,$player_index)."',
|
'".mysqli_real_escape_string($lnMySQL,$player_index)."',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user