title: Php json_encode from mysql > output without column names
body: <p>this is my code on a php page connected to mysql server.</p>
  
  <pre><code>$temp = array();
  while($row = mysqli_fetch_assoc($result)) {
      $temp[] = $row;
  }
  echo json_encode($temp);
  </code></pre>
  
  <p>The output is: </p>
  
  <pre><code>[{"column1":"1448741941","column2":"951"},{"column1":"1448747281","column2":"862"}]
  </code></pre>
  
  <p>That's is including the column title + data, and i wanna know how can i get only datas, like </p>
  
  <pre><code>    [[1448741941,951],[1448747281,862]]
  </code></pre>
  
  <p>Thanks for the help!</p>