TheCandyman
Technical User
I want to look in a directory (images) and see if a picture is there, if so show it. But im not sure how it make it work, this is what i have so far.
<% if %>(images/<%=PartNo%>) = "" <%then%>
<img src="images/<%=PartNo%>.jpg" alt="No Picture Available" width="265" height="217">
<%else%>
<img src="images/<%=PartNo%>.jpg" alt="<%=PartNo%>" width="265" height="217">
<%end if%>
Any help????
<% if %>(images/<%=PartNo%>) = "" <%then%>
<img src="images/<%=PartNo%>.jpg" alt="No Picture Available" width="265" height="217">
<%else%>
<img src="images/<%=PartNo%>.jpg" alt="<%=PartNo%>" width="265" height="217">
<%end if%>
Any help????