title: How to read an array from PHP in android
body: <p>I have the following php code:</p>
  
  <pre><code>$response["information"]   = mysql_fetch_array($result) ;                   
  echo json_encode($response);
  </code></pre>
  
  <p>Where my php sentence only returns and array. And what I want to do is to read the elements of that array in android, so I have wrote the following code, but seems not working:</p>
  
  <pre><code>Date_Queries date_info_query = new Date_Queries();
              json = date_info_query.getDateInformation(uid_request,is_your_request);
  
              if (json.getString("result_code") != null) { 
  
                  // Result Code = 0 --&gt; Succesfully Select
                  if (json.getString("result_code").equals("0")){ 
  
                      JSONArray information = json.getJSONArray("information");
                      JSONObject jobj = information.getJSONObject(0);
  
                      status       = jobj.getString("status");
                      return 0;
                  }
              }
  </code></pre>