title: PHP jQuery json_encode
body: <p><strong>PHP</strong></p>
  
  <pre><code>$results[] = array(
      'response' =&gt; $response
  );
  echo json_encode($results);
  </code></pre>
  
  <p>Using the above returns to my jQuery the following <code>data</code> </p>
  
  <p><strong>Part of .ajax()</strong></p>
  
  <pre><code>success:function(data){
      console.log(data);
  }
  </code></pre>
  
  <p>Outputs</p>
  
  <pre><code> [{"response":0}]
  </code></pre>
  
  <p>How could I change <code>console.log(data)</code> to pick the value of <code>response</code>?</p>