mysql_fetch_array will give me an array of a fetched row. What\'s the best way generate an array from the values of all rows in one column?
mysql_fetch_array
Loop through the result:
$result = mysql_query(...); $data = array(); while ($row = mysql_fetch_array($result)) { array_push($data, $row["columnyouwant"]); }