Fairly simple, but, can anyone think of a more efficient way to do this? Is there a specific function for this that I'm missing? This function is going to be called a lot and it's only going to be a one dimensional array. Just basically creating a array from the results of a mysql query.
$result = mysql_query ("SELECT value FROM table");
$numOfRows = mysql_num_rows($result);