Ali Bilgrami wrote:
ok some countries which has a space in their names like United Kingdom are not showing flags...in the pic properties it only shows the first word of their name...why is that? any ideas? |
the reason why it does this is because you need to put quotes round the image url, if you leave it how you had it in the example (eg <img src=flags/united kingdom.gif> the space breaks the url
so try doing this:
Response.Write(vbCrLf & " <br />" & "<img src=""flags/" & strAuthorLocation & ".gif"">") |
notice the double quotes (in red) this makes the asp ignore it, and continue to the string
Edited by Scotty_32 - 30 May 2006 at 4:18pm