Parse JSONArray data Exception from PHP script

D3FC0N

New Member
I got the Error message in Android below, it is send by PHP server implemet it as JSON array:\[code\]03-20 15:19:17.479: D/requestWorldRecords()(353): org.json.JSONException: Value {"Error":"No Result!"} of type org.json.JSONObject cannot be converted to JSONArray\[/code\]The PHP script is as below:\[code\]$data = http://stackoverflow.com/questions/9789873/array('Error' => "No Result!"); print_r(urlencode(json_encode($data)));\[/code\]Can any body correct me where I was wrong , thanks for the help !
 
Top