I have following php variable of name
$name=$_POST["name"];
<script>
pge = '<?php echo $name ;?>';
var url = "searchCustomerByNameApi2.php"
//some code
xmlhttp.open("GET", url, true);
xmlhttp.send();
how can I send pge variable along with url as aquery string and access it on the php page ??
"searchCustomerByNameApi2.php?pge="+pgeand get it on php page like$_REQUEST['pge'].