fix PHP parse error

This commit is contained in:
gnieark 2015-12-12 10:39:00 +01:00
parent a3aa846bc1
commit f0405c615e

View File

@ -3,12 +3,9 @@ $bots=get_Bots_Array('Battleship');
switch ($_POST['act']){ switch ($_POST['act']){
case "initGame": case "initGame":
print_r($_POST);
//verifier parametres POST //verifier parametres POST
$postParamsWanted=array( $postParamsWanted=array(
// key,min,max // key,min,max
array('bot1',1,999),
array('bot2',1,999),
array('gridWidth',1,100), array('gridWidth',1,100),
array('gridHeight',1,100), array('gridHeight',1,100),
array('ship1',1,10), array('ship1',1,10),