php - Json output for android -


i using tutorial

please guide me how can customized mysql table enter image description here

i unable understand how sort of out table .

 {"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       }     <--more -->     ]} 

i using php .

that tutorial shows how consume json in android client.

try of these tutorials server side part of equation:


Comments