title: How to get multiple value from AJAX
body: <p>any superior can guide me how to return multiple value from php using AJAX, like below. i have using the json_encode, but still cannot working. Thanks a lot.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(document).ready(function(){
  
   var btnValue = document.querySelectorAll('#btn');
  
    for (var i = 0; i &lt; btnValue.length; i++) {
    
     btnValue[i].onclick = function() {
  
         var btnValue = $(this).attr('value');
  
         var textboxValue = $("#textboxValue").val();
         var textboxValue2 = $("#textboxValue2").val();
  
         $.get('AJAX_function.php', {
             sendtextboxValue: textboxValue,
              sendtextboxValue2: textboxValue2,
         }, function(data) {
                
                //my question is, how to return multiple value in AJAX
            $('#column').html(data);
             
         });
     }
  }
    </code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php
  echo 'value1';
  echo 'value2';
  echo 'value3';
  
  ?&gt;</code></pre>
  </div>
  </div>
  </p>