subnet_rx Posted August 30, 2007 Share Posted August 30, 2007 I've got a display issue on this line where IE is not closing the tags. For some reason, when I view source, everything after my echo statement is on the next line, and I think IE is just leaving the td unclosed, even though it displays on the next line. Can anyone tell me what is going on? <td style="border-right:thin #000000 solid;"><?php echo "<a href=".$row['URL']."\" >Home Page</a>"; ?></td> Quote Link to comment https://forums.phpfreaks.com/topic/67300-solved-whats-wrong-with-this-line/ Share on other sites More sharing options...
chocopi Posted August 30, 2007 Share Posted August 30, 2007 I think this <td style="border-right:thin #000000 solid;"><?php echo "<a href=".$row['URL']."\" >Home Page</a>"; ?></td> should be <td style="border-right:thin #000000 solid;"><?php echo "<a href=\"".$row['URL']."\" >Home Page</a>"; ?></td> As you have closed a " which you have not opened. Try this ~ Chocopi Quote Link to comment https://forums.phpfreaks.com/topic/67300-solved-whats-wrong-with-this-line/#findComment-337664 Share on other sites More sharing options...
subnet_rx Posted August 30, 2007 Author Share Posted August 30, 2007 That did, thanks. Can't believe that was completely screwing up that entire web page, but should have known that IE is very picky about some things and completely ignores others. Quote Link to comment https://forums.phpfreaks.com/topic/67300-solved-whats-wrong-with-this-line/#findComment-337670 Share on other sites More sharing options...
Jessica Posted August 30, 2007 Share Posted August 30, 2007 That should have affected firefox too... If you mess up the HTML it's not the browser's fault. It's the code... Quote Link to comment https://forums.phpfreaks.com/topic/67300-solved-whats-wrong-with-this-line/#findComment-337673 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.