Hi All
I have 2 scripts,
the first has the following:
?>
<td align="left" width="766"><font color="black\" face="arial\"size="2"> <a href=\"embassies/emb.php?idname=<? echo urlencode($row["country"]).">".$row["country"] ?></a>
</td>
<?
This script calls the second when a user clicks on the country.
In the second I have:
$connection = mysql_connect($server, $user, $password);
mysql_select_db("db66511019", $connection);
$result = mysql_query("SELECT * FROM embassies WHERE country = '$idname'" , $connection);
while ($row = mysql_fetch_array($result))
The second script shows the page with no errors but does not show and data.
The database has data in it, the field country is there and all is spelt correctly.
Any ideas as to why there is no data shown.
Kind regards and thanks in advance
DCJ