Menu
i want to select all the data from a single column in a table.
ex:
$q = ‘select column_name from table’;
$result = mysql_query($q);
what then is the best mysql fetch function to then use to then parse out the indiv columns?
i’m so used to using “select *” and then using
$row = mysql_fetch_array($result)
$row[$i];
etc etc.
but i’d like to not select the entire table for this script i’m writing.
thanks for any help with this.