Saturday, March 31, 2012

Why is the img src= part of the image link removed from database?

My database contains a field with a link to an image. The second part of the link is mysteriously removed when pasted into the database. This field is nVarChar(200). I am using MS SQL Server Management Studio Express to connect and edit the SQL Server 05 database on the server.

Why is the last part of the link being removed, and how can I fix it?

Before:
<a href="http://links.10026.com/?link=http://www.domain.net/click-1234-5678" target="_top" >
<img src="http://pics.10026.com/?src=http://www.domain2.com/image-987-6543" width="120" height="60" alt="" border="0"></a>

After Pasting:
<a href="http://links.10026.com/?link=http://www.domain.net/click-1234-5678" target="_top" >

Thanks for your help and time.

I figured out the problem. I just needed to remove the extra space.


try putting it all on one line.. It's probably the line break.

0 comments:

Post a Comment