title: jQuery reading JSON Data
body: <p>So I have a database pass a whole bunch of data using PHP back to jQuery through JSON.. I'm trying to access individual columns from the returned data but no luck..</p>
  
  <p>My PHP:</p>
  
  <pre><code>header('Content-Type: application/json');
  require 'database.php';
  mysql_query('SET CHARACTER SET utf8');
  $myjsons = array();
  $qry = 'SELECT * FROM quotes ORDER BY id';
  $result = mysql_query($qry);
  
  while($row = mysql_fetch_assoc($result)){ 
    $myjsons[] = json_encode(array($row));
  }
  echo $_GET['callback'] . '(' . json_encode($myjsons) . ')';
  </code></pre>
  
  <p>Here's my JS:</p>
  
  <pre><code>function getAll(){
      jQuery.ajax({
          url:'example.com/js/getAll.php',
          async: true,
          dataType: 'jsonp',
          success:function(data){
              $('.quoteList').append(data[0]);
          }
      });
  }
  </code></pre>
  
  <p>Currently that appends the following to the element:</p>
  
  <pre><code>[{"id":"1","text":"The most wasted of all days is one without laughter.","author":"E.E. Cummings","status":"1"}]
  </code></pre>
  
  <p>So for example.. if I wanted the jQuery to go through data[0] to data[92] (the last one) and append the author of each to .quoteList, how could I do that? I've tried data[0][1] and data[0][author]</p>