From c9be6d096a38d17163c219899f7d56f4606e7464 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Mon, 13 Jun 2016 13:51:18 +0200 Subject: [PATCH] . --- connectfour.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectfour.php b/connectfour.php index 7b5c5cb..0ce6e6c 100644 --- a/connectfour.php +++ b/connectfour.php @@ -14,7 +14,7 @@ function score($board,$me,$colToPlay){ //add cell for($y = 0; $board[$y][$colToPlay] <> ""; $y++){ } - $newBoard[$y,$colToPlay] = $me; + $newBoard[$y][$colToPlay] = $me; //do I win?