Hello i am new to android , i am trying to send array of string ( contain episode Titles) to server with just 1 key ( which will be called items ) ,i tried to use
nameValuePairs.add(new BasicNameValuePair("items", "EpTitle1"));
but it takes just 1 key for 1 value string not array of string , i want that value to be array ,i found sending php array with POST android ,but in his example b.toString(); only send className not my array . any hint will be appreciated .Thanks
Just a wild guess: Does this work (assuming arrayOfValues is a String array containing your items)?
This is the way you would send an array of data in HTML to a PHP-server.