title: How to load a mysql array into an array without loop?
body: <p>Simple question. lets say I run the following:</p>
  
  <pre><code>$results = mysql_query("SELECT * FROM table");
  </code></pre>
  
  <p>How can I load the mysql results array into a PHP array without doing a while loop? Example:</p>
  
  <pre><code>$mysql_results = array();
  $results = mysql_query("SELECT * FROM table");
  $mysql_results = mysql_load_all_results_into_array($results);
  </code></pre>
  
  <p>Thanks!</p>