title: getJson key/value parameters as variables syntax issue
body: <p>I am attempting to use variables as the key/value parameters during my getJson call. I can put in the actual values and it works but when I attempt to plug in the variables, nothing is returned. I am not sure of the exact syntax that I should use for plugging in the variables. The variables are order and store. Any help will be really appreciated. </p>
  
  <pre><code>  var order = &lt;?php echo $orderid; ?&gt;;
    var store = &lt;?php echo $store; ?&gt;;
  
    function ajaxCall(){
  
  findPrinter();
  
  
   $.getJSON('http://www.webaddress.com/printlabels/qz-print/dist/api2.php?', {
      order:  "order", 
      store:  "store" 
   },function(data){
  </code></pre>