Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/ddd/public_html/rates2.php on line 31
line 31 is while ($row = mysql_fetch_row($resultid)), i think the problem is $resultid, $resultid=mysql_query("SELECT * FROM rates WHERE country_name='$country_name", $linkid);