title: How to Pass Two Columns from Database to one Datatable Cell
body: <p>Am trying to Pass more than one column to the php file using ajax i want to display more than one column in one data cell.</p>
  
  <p>this is the code that works for one colunm</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          $(document).ready(function () {
              $('#datatable-responsive').DataTable({
                  "columns": [
                      {"data": "fname"},
                      {"data": "phoneno"},
                      {"data": "email"},
                      {"data": "idno"},
                      {"data": "idno"},
                      {"data": "status"}
  
                  ], 
  
                  "processing": true,
                  "fixedHeader": true,
                  "serverSide": true,
                  "ajax": {
                      url: '../lib/request/viewrequests.php',
                      type: 'POST'
                  }
              });
          });
      &lt;/script&gt;
  </code></pre>
  
  <p>How do i Change the above to pass two columns in <code>{"data": ""}</code></p>