Pass string array from Android to PHP server
<p>I want to send string array from my android app to my PHP server. Kindly help me regarding this issue i have been stuck here from last day i have searched this question but no where found where array is sending to the server.</p>

<p>when i pass simple string with URLEncoder.encode it pass easily but i gives me error when i give STRING ARRAY as input.</p>

<p>i just posted the relevant code. moreover other things like connection establishing are working fine i have issue with passing an array of data to php server.</p>

<p>here is my code;</p>

<pre><code>public void setschedule(String doc_id, String[] copy_day_array,String[] copy_month_array, String[] copy_year_array, String to,String from) 
        {
URL url;
//making of url
String urlParameters ="command=" + URLEncoder.encode("setschedule", "UTF-8")+"&amp;doc_id=" + URLEncoder.encode(doc_id, "UTF-8")+"&amp;copy_day_array=" + URLEncoder.encode(copy_day_array, "UTF-8");

}
</code></pre>
