i have two values in a table and instead of returning the values it returns the word "array" twice.
$mysql = new sqlConnection();
$query = "SELECT DISTINCT status FROM status ORDER BY status";
$result = mysql_query($query) or die('Error, query failed');
while ($row = mysql_fetch_array($result))
{
echo "$row<br>";
}
$mysql->close();