i am displaying a logo in a response.write statement. the logo i am retrieving from a sql server 2008 database.
i wanted to display another field from the same record that would give a title description of the image so i did the following:
the above code works apart from it is putting a + symbol where a space should be. if i remove the server.urlencode it does not display the full description, only the first word.
can anyone help me so it will not display the + symbol?
thanks.
Ah dinnae ken...
i wanted to display another field from the same record that would give a title description of the image so i did the following:
Code:
Response.Write ">" & "<img src=""logo.asp?id=" & slogo & """ align=""absmiddle"" width=""150"" height=""115"" border=""0"" [COLOR=red]title=" & server.UrlEncode(description)[/color] & ">"
the above code works apart from it is putting a + symbol where a space should be. if i remove the server.urlencode it does not display the full description, only the first word.
can anyone help me so it will not display the + symbol?
thanks.
Ah dinnae ken...