Forums
This topic is locked
Display a default image when no image exists
20 Sep 2006 16:34:19 bry keen posted:
Here is the code i am trying to work with. Nothing Showing only image placeholder.<!--image source start -->
<%
If Recordset1.Fields.Item("ID".Value <> "" then
response.write ("<img src='www.premier.com/golfIncludes/gcPhotos.asp?id=(Recordset1.Fields.Item('ID').Value"
Else
response.write ("<img src='www.premier-.com/images/GCPhotos/genericGolf.jpg")
End if
%>