title: How can i get string value from db which sets integer for server-side processing?
body: <p>I'm using a Datatables example and I want to get string value for the gender: 
  '<strong>Male</strong>' or '<strong>Female</strong>' instead of <strong>1</strong> or <strong>2</strong>.</p>
  
  <p>My <strong>config.php</strong> code for gender:</p>
  
  <pre><code>$gender = [1 =&gt; "Male", "Female"];
  </code></pre>
  
  <p>And this is my server-processing.php code which returns integer:</p>
  
  <p><code>array( 'db' =&gt; 'gender',   'dt' =&gt; 4)</code>.</p>
  
  <p>Who can help me to solve this? </p>