Winchester
Diamond Member
In their code: Text
Response.Write "<TD>" & objRS.Fields("FamilyPicture") & "</TD>"
FamilyPicture in my DB is family.jpg, how can I put the IMG SRC stuff around it in this case.
How it works before looking at the above suggestion:
<a href="gallery.asp?Start=0&Offset=15&LastName=<%=RS("LastName")%>"><IMG SRC="http ://www.website.net/images/(<%=RS("FamilyPicture")%>" id="IMG1" onclick="return IMG1_onclick()"></a>
I tried the following but I get an syntax error with the "</TD>"
Response.Write "<TD>" & "<IMG SRC=""" & objRS.Fields("FamilyPicture") & """ WIDTH=""98"" VSPACE=""5"" HSPACE=""5"" BORDER=""0""> & "</TD>"
Figured out if I leave out the "</TD>" it works....????? wierd still need info on adding the URL to the whole thing.
How does this convert?
Response.Write "<TD>" & objRS.Fields("FamilyPicture") & "</TD>"
FamilyPicture in my DB is family.jpg, how can I put the IMG SRC stuff around it in this case.
How it works before looking at the above suggestion:
<a href="gallery.asp?Start=0&Offset=15&LastName=<%=RS("LastName")%>"><IMG SRC="http ://www.website.net/images/(<%=RS("FamilyPicture")%>" id="IMG1" onclick="return IMG1_onclick()"></a>
I tried the following but I get an syntax error with the "</TD>"
Response.Write "<TD>" & "<IMG SRC=""" & objRS.Fields("FamilyPicture") & """ WIDTH=""98"" VSPACE=""5"" HSPACE=""5"" BORDER=""0""> & "</TD>"
Figured out if I leave out the "</TD>" it works....????? wierd still need info on adding the URL to the whole thing.
How does this convert?