fix PHP parse error
This commit is contained in:
parent
a3aa846bc1
commit
f0405c615e
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user