 |
|
<%
id=request("id")
set rs=server.createobject("adodb.recordset")
sql = "select a.*,b.name from photo a ,class1 b where a.class1=b.id and a.id="&id
rs.open sql,conn,3,1
if not rs.eof then
small_image=rs("pictype")
%>
|
<%
else
response.write "暂无图片 | "
end if
%>
|
|
|
|
|
|