title: sending php array with POST android
body: <p>I want to send a php array via POST from android to php server and i have this code</p>
  
  <pre><code>HttpClient httpclient = new DefaultHttpClient();
  HttpPost httppost = new HttpPost(url);
  StringEntity dades = new StringEntity(data);
  httppost.setEntity(dades);
  
  // Execute HTTP Post Request
  HttpResponse response = httpclient.execute(httppost);
  HttpEntity resEntity = response.getEntity();
  return resEntity.getContent();
  </code></pre>
  
  <p>I think that the php array may be can go in
  <code>StringEntity dades = new StringEntity(data);</code>
  (data is the php array). Can anyone help me?</p>