I'm doing an app that interacts with a mysql database with some php scripts. I would like to know if it is possible to send and array in a php POST from an android activity ?
This is th code I'm using for the moment :
ArrayList<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>();
nameValuePairs.add(new BasicNameValuePair("userID", String.valueOf(userID)));
but I think sending and array would be much better than sending one ID at a time.