$con = mysql_connect("servername","username","password");
if (!$con){die('Could not connect: ' . mysql_error());}
mysql_select_db("Appiness", $con);
$result= mysql_query("SELECT * FROM country");
while($answer= mysql_fetch_array($result))
{
echo $answer;
}
When i write this it gives me my array of 194 elements but when i echo them it only writes ArrayArrayArray....... 194 times any idea why it is not giving the names of the countries?