title: How Print json Array in Javascript
body: <p>PHP: Code:</p>
  
  <pre><code>$category_searchresult = $db-&gt;db_query("SELECT category_code, category_name, category_comment FROM qa_categories WHERE ".$search_by." LIKE '%".$search_string."%'");
  
          $i=1;
          $qa = array();
          while($categories_query_result = mysql_fetch_array($category_searchresult))
          {
              $qa[$i][] = $categories_query_result['category_code'];
              $qa[$i][] = $categories_query_result['category_name'];
              $qa[$i][] = $categories_query_result['category_comment'];
  
              $i++;
           }
          echo json_encode($qa);
  </code></pre>
  
  <p>JS Code:</p>
  
  <pre><code>$.ajax({
       type: "POST",
       url: "ajax_js.php",
       data: search_data,
       cache: false,
       success: function(search_result) {
          //Print Here
      });
  </code></pre>
  
  <p>Current Output IS from PHP:</p>
  
  <pre><code>{"1":["4BA3CC","Fontaneria","Para la Casa"],"2":["CF0345","Herramientas","Herramients de Hogar"],"3":["1265CA","Luces","Luces de todo tipo"],"4":["4C4C9F","Vidrios","Reflectores de auto"]}
  </code></pre>
  
  <p>Many Thank's</p>