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 none of the above work, try:
while( $row = mysqli_fetch_assoc( $result)){ $array[] = $row['id']; } mysql_fetch_assoc is deprecated.