Jump to content

[SOLVED] What's wrong with this line?


subnet_rx

Recommended Posts

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>

Link to comment
https://forums.phpfreaks.com/topic/67300-solved-whats-wrong-with-this-line/
Share on other sites

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 ;D

 

~ Chocopi

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.