I'm trying to use an tag, but the $foo.x and $foo.y ... To get your result sent as an array to your PHP script you name the , ...
php.net