Hi,
I'm trying to write the code to only display an image if
there is a file name in the database for the image (i.e. if there
is no image for the item, no image tags are written to the page
etc)
Heres what I have:
<code>
<%
Dim bookImage
bookImage = (rsBooks.Fields.Item("book_imageURL").Value)
If bookImage > 1 then
Response.Write("<img
src='i/bookCovers/<%=bookImage%>'/>")
Else
End If
%>
</code>
I'm getting the following error:
Unterminated string constant
/index.asp, line 197
Response.Write("<img src='i/bookCovers/<%=bookImage
---------------------------------------------------^
I can't figure the problem.
Appreciate any advice.