= ' <%
sql8="select * from p1_house_agency"
d8=opentable(rs8,sql8,3,3)
%>
<select name="agency" id="select">
<% do while not rs8.eof
%>
<option value=<%=trim(rs8("agency"))%>><%=trim(rs8("agency"))%></option>
<%
rs8.movenext
loop
rs8.close
set rs8=nothing
%>
</select> '
这个错了,字符串不得换行除非用+链接
sql8="select * from p1_house_agency"
d8=opentable(rs8,sql8,3,3)
%>
<select name="agency" id="select">
<% do while not rs8.eof
%>
<option value=<%=trim(rs8("agency"))%>><%=trim(rs8("agency"))%></option>
<%
rs8.movenext
loop
rs8.close
set rs8=nothing
%>
</select> '
这个错了,字符串不得换行除非用+链接
function Price(searchtype)
{
switch (searchtype){
case 0:
= ' <input name="pwd" size=10 type="password"> '
break;
case 1:
= ' <% sql8="select * from p1_house_agency"'+
'd8=opentable(rs8,sql8,3,3) %>'+
'<select name="agency" id="select">'+
'<% do while not rs8.eof %>'+
'<option value=<%=trim(rs8("agency"))%>><%=trim(rs8("agency"))%></option>'+
'<% rs8.movenext'+
'loop'+
'rs8.close'+
'set rs8=nothing %>'+
'</select> '
break;
}
}
</script>