Submit multiple GET parameters from Android
<p>I have a PHP web service running that looks for a couple .GET variables.  Here is the code I was using previously that worked with one param, but fails when I try for two. Any help would be really appreciated:</p>

<pre><code>//the year data to send
    ArrayList&lt;NameValuePair&gt; nameValuePairs = new ArrayList&lt;NameValuePair&gt;();
    nameValuePairs.add(new BasicNameValuePair("db", Customer_ID));
    nameValuePairs.add(new BasicNameValuePair("item_type", item_type));


     //http post
     try{
             HttpClient httpclient = new DefaultHttpClient();
             HttpPost httppost = new HttpPost("url here");
             httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));
             HttpResponse response = httpclient.execute(httppost);
             HttpEntity entity = response.getEntity();
             is = entity.getContent();

     }catch(Exception e){
             Log.e("log_tag", "Error in http connection "+e.toString());
     }
</code></pre>
