How can my PhP code see the same variable as is seen on the JS side by this?
I imagine it's something like this in game.php???:
Code: Select all
var playerOrder = $this->gamedatas.playerorder;Code: Select all
$playerOrder = self::getPlayerOrder();