title: how to send query string parameters in XMLHttpRequest to php page
body: <p>I have following php variable of name </p>
  
  <pre><code>    $name=$_POST["name"];
      &lt;script&gt;
      pge = '&lt;?php echo $name ;?&gt;';        
      var url = "searchCustomerByNameApi2.php"
      //some code 
     xmlhttp.open("GET", url, true);
     xmlhttp.send();
  </code></pre>
  
  <p>how can I send pge variable along with url as aquery string and access it on the php page ??</p>