title: Saving JSON data into an array
body: <p>Is there any way I can obtain the data from a JSON file and save them into a multidimensional array in JavaScript. 
  The JSON file is a .php file with header set to JSON. </p>
  
  <p>I've tried so far:</p>
  
  <pre><code> var questionJSONS="";
  $(document).ready(function(){
          var questionJ="";
          $.getJSON("http://localhost:8080/audioMillionaire/test2.php",function(result){
          $.each(result, function(i, item){
  questionJ+= "['"+result[i].qid+"','"+result[i].description+"','"+result[i].a+"']";
    });
          setArray(questionJ);       
  });
  </code></pre>
  
  <p>});</p>
  
  <p>And many other things, but none of them seem to work.</p>