can you do this? in PHP that is…
here is a example:
<?
if($db = mysql_connect("localhost", "database", "pass")){
mysql_select_db("thedatabase",$db);
}
$result = mysql_query("SELECT entry FROM mab", $db);
$num = mysql_num_rows($result);
while($info = mysql_fetch_row($result)){
echo"$info[0]<p>";
}
mysql_close($db);
?>
I cant get ANY function to fetch a bunch of rows as a array, i’ve tried:
mysql_fetch_row
mysql_fetch_array
mysql_fetch_assoc
and a few others…
anyways my question is, is there a way to return a COLUMN in a MYsql databse as a array?