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
If you don't need other information in that table, you can query for only the column you need and it makes it all more easy:
$query = mysql_query("SELECT * FROM table WHERE id='$int' LIMIT 1"); $column = array(); $column = mysql_fetch_array($query);