<% strSQL = "SELECT * from content where nav_id ='"&varid&"'" Set RS = Server.CreateObject("ADODB.Recordset") RS.Open strSQL, strCon do while not RS.eof if RS("img") = "" then response.Write "
CHEMREZ TECHNOLOGIES
" & vardesc & "
"
Response.Write ""
response.Write "CHEMREZ TECHNOLOGIES
" & "" &"
"
end if
RS.movenext
loop
%>