Cursor value into BasicNameValuePairs
<p>I am trying to send a value to a php server.  I want the cursor value to be place below, next to "server".</p>

<pre><code>SQLiteDatabase db = dbHelper.getReadableDatabase();
Cursor cursor = db.rawQuery("SELECT server FROM server_detail ;", null);

nameValuePairs.add(new BasicNameValuePair("server", cursor));
</code></pre>

<p>Can someone please show me the correct way of doing this?</p>
