CyrusAyers
Programmer
Gurus,
It would be nice if my code could check the validity of a image src coming from a RS instead of just not showing an X on the blank ones - keeping nasty X's from onlookers in the case of a typeo. Is there a better alternative?
Thanks for any advice!
It would be nice if my code could check the validity of a image src coming from a RS instead of just not showing an X on the blank ones - keeping nasty X's from onlookers in the case of a typeo. Is there a better alternative?
Code:
<%if rs("imagebox")<>"" then
strImage = rs("imagebox") %>
<img src="/pictures/<%=strImage%>" alt="<%=strImage%>" align="right">
<%end if%>