i cant get correct emaid,phone number for a name
<blockquote>
  <p>{"name":["bineesh","Administrator","binu","binu","bijith","prem","rahul"],"email":["feawfewa@gmail.com","jytfj@gmail.com","werw@gmail.com","543534@gmail.com","nvbnb@gmail.com","gdfgd@gmail.com","utyuty@gmail.com"],"phone":["345366","12345","0","0","0","979797","7655775"]}</p>
</blockquote>

<p>json parsing using to i retrive all the name value.that name i showed in a list view but when i click first name i cant get correct email ,and phone number for name</p>

<p>plz help </p>

<pre><code>          JSONObject myJson = new JSONObject(result);
          JSONArray ja = myJson.getJSONArray("name");
          JSONArray je = myJson.getJSONArray("email");
          JSONArray jp = myJson.getJSONArray("phone");


          int length=ja.length();
          List&lt;String&gt; listContents = new ArrayList&lt;String&gt;(length);
          for (int i = 0; i &lt; length; i++) {
             // employeeText.setText(ja.getString(i));
              System.out.println(ja.getString(i));


              listContents.add(ja.getString(i));
          }



          ArrayAdapter&lt;String&gt; a=new ArrayAdapter&lt;String&gt;(this,android.R.layout.simple_list_item_1,listContents);
          setListAdapter(a);




 }

            catch(JSONException e1){
              Toast.makeText(getBaseContext(), "No name found" ,Toast.LENGTH_LONG).show();
            } catch (ParseException e1) {
                e1.printStackTrace();


            }




      }
@Override
protected void onListItemClick(ListView l, View v, int position, long id) {
    // TODO Auto-generated method stub
    super.onListItemClick(l, v, position, id);
    if(id==0)
    {

        for (int i = 0; i &lt; je.length(); i++) {
             // employeeText.setText(ja.getString(i));
              try {
                System.out.println(je.getString(0));
            } catch (JSONException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }

    }

    Intent i=new Intent(Employeedetail.this,details.class);
    startActivity(i);
</code></pre>
