title: AJAX to JS variable exchange
body: <p>I used ajax to call a php to get me some values stored in my DB.
  I then echo these values in my php so that i can use the <code>responseText</code> property to get these retrieved values (which i want to store in a JS array) for further referral.
  Here's where i get stuck. I do manage to do this when I have to retrieve just 1 row from the DB (I did this by separating the fields using a ',' and subsequently using the split() function in JS to parse the string). However when my DB returns more than 1 row then I reach a deadend as this method of mine doesn't seem to work. Kindly advice the easiest way to overcome this hurdle.</p>