Could you handle the name \"John\" in php from this getJson()? Could you assign it to a php variable?
var output = [];
$.getJSON(\'DisplayMap.php\',{ Name: \"joh
This code will cause a GET request to ./DisplayMap.php with a query string variable named Name set to the value of john:
http://www.site.com/DisplayMap.php?Name=john
In PHP, you would access this via $_GET['Name'] or $_REQUEST['Name'].
As for the success function and what happens there, I don't really know what your system returns and it seems unrelated to your question.
Since it will initiate a HTTP GET request, you can get variable in PHP as below
$Name = $_GET["name"];