Log in

View Full Version : php link not working in IE



e1seix
07-21-2007, 03:12 AM
i'm confused.

i have an table on my web page that calls a "link" from mysql database. while it works in Firefox, the text is appearing in IE but not as a link.

the code:

<table bgcolor="#ffffff" border="0" width="150">
<tr>
<td align="justify" bgcolor="#ffffff" width="150">

<?php
include('http://www.dogfightuk.com/links_left.php');
?>

</td>
</tr>
</table>

the code for "link_left.php":

echo "<table bgcolor='#999999' border='0' cellpadding='5' cellspacing='0' width='150'>";
echo "<tr><td align='center' bgcolor='#999999' width='150'><p class='title'>Navigation</p></td></tr>";
while($row = mysql_fetch_array( $result )) {
// Print out the contents of each row into a table
echo "<tr><td align='justify' bgcolor='#cccccc' width='150'><p class='link'";
echo $row['link'];
echo "</p></td></tr>";
}

echo "</table>";
?>

and the 'link' that's called upon:

<a href="/browse_fra.php?" target="_top">Fragrances</a>

HELP!

e1seix
07-21-2007, 03:14 AM
in fact i've just noticed a problem, the '>' after link. it still doesn't work though

djr33
07-21-2007, 04:52 AM
Can you link us to the page?

PHP isn't the problem because it outputs the same thing no matter what browser is being used.
It is something to do with the text that is output, such as, yes, a missing '>', etc.