title: How to store MYSQL_FETCH_ARRAY result into different Variables
body: <p>I am unable to find a solution for a simple problem, it's a shame. After using mysql select statement, let say I get two records, what I want to do is to store these results into two different variables. Let say, I get 4,5 after select statement. I want to save 4 and 5 into different variables.</p>
  
  <pre><code>$query = mysql_query("SELECT test_id FROM test WHERE MONTH(created)='$res_month'");
  
  while($abc = mysql_fetch_array($query)) {
  
      echo $abc; 
  
  }
  </code></pre>