debog stupidIa

This commit is contained in:
Gnieark 2016-05-11 14:52:26 +02:00
parent 74d4326167
commit 22609cf0b0

View File

@ -5,11 +5,11 @@
*/ */
$grid=json_decode($_POST['grid']); $grid=json_decode($_POST['grid']);
print_r($grid);
$colAvailable=array(); $colAvailable=array();
for($i=0;$i<7;$i++){ for($i=0;$i<7;$i++){
if($colAvailable[4][$i] == ""){ if($grid[5][$i] == ""){
$colAvailable[]=$i; $colAvailable[]=$i;
} }
} }