Json output for android
<p>i am using this <a href="http://p-xr.com/android-tutorial-how-to-parse-read-json-data-into-a-android-listview/" rel="nofollow">tutorial</a> </p>

<p>please guide me how can i customized it for my mysql table which is like this 
<img src="http://i.stack.imgur.com/3ufhY.png" alt="enter image description here"></p>

<p>i am unable to understand how to get this sort of out from my table .  </p>

<pre><code> {"earthquakes": [
        {
            "eqid": "c0001xgp",
            "magnitude": 8.8,
            "lng": 142.369,
            "src": "us",
            "datetime": "2011-03-11 04:46:23",
            "depth": 24.4,
            "lat": 38.322
      },
      {
            "eqid": "2007hear",
            "magnitude": 8.4,
            "lng": 101.3815,
            "src": "us",
            "datetime": "2007-09-12 09:10:26",
            "depth": 30,
            "lat": -4.5172
      }
    &lt;--more --&gt;
    ]}
</code></pre>

<p>i am using php . Thanks </p>
