I have created a news database for my website with mySQL. The intro page of the site is designed to recall the last three news entries and display a summary of them, as well as linking to them on a seperate news page, (which lists all the entries there have even been). The news articles on the news page are listed in full, and in order of 'id', which was entered into the database.
The problem I am having is with the Internet Explorer broswer. I am using the following code:
<html>
<head><title>Get data</title></head>
<body>
<?php
$rs = @mysql_connect( "###", "###", "###" );
$rs = @mysql_select_db( "news" );
$sql = "select * from items order by id desc limit 3";
$rs = mysql_query( $sql );
while( $row = mysql_fetch_array( $rs ) )
{
?>
<span class="newstitle"> <?php echo $row["title"]; ?> </span><br>
<span class="news"> <?php echo $row["content"]; ?> </span><br>
<span class="news"> <a href="http:///www.wickeduk.co.uk/index.php?id=news#<?php echo $row["id"]?>">...News In Full...</a></span>
<p>
<?php } ?>
</body>
</html>
When the intro page is viewed through Netscape or FireFox, you can click on the link, and you are taken to the specific news article on the news page. However, while testing it in IE, I found that while the ...News in Full... text comes up as a link and when you hover over it you can see the link at the bottom of the page. However, when you click on it, it doesn't go anywhere. It doesn't take you to a new page, it doesn't give you an error, it does nothing.
Having tried in both Netscape and FireFox and had it work successfully, I can only assume that it is an IE issue. Can anyone help me to solve this, as several quite important parts of the site involve a similar set-up? Thanks