本人菜鸟!想请教老师们个问题,下拉框里面的内容为什么我更改不了!(有图)
本人菜鸟!想请教老师们个问题,发布信息时下拉框里面的内容为什么我更改不了!想更改的是“工作”两字改为“换客”两字。找到工作两字在dir.asp里面 但更改后网页不改变!更改后是不是需要数据库更新,请详细说明一下。谢谢!dir.asp里面的内容
<table width="100%" border="0" align="center" cellSpacing=1 cellPadding=0>
<%sql="select * from nyeee_type where name ='租兑' or name ='房产' or name ='工作' or name ='买卖' or name ='加盟' or name ='交友' or name ='车辆' or name ='招生' or name ='服务' or name ='家政' or name ='广告'"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if rs.eof then%><tr bgcolor="#FFFFFF">
<p align='center'><font color='#FF0000'>暂无分类</font></p>
<%rs.close
set rs=nothing
else
while not rs.eof%>
<script language=JavaScript>
function MM_displayStatusMsg(msgStr) { //v1.0
status=msgStr;
document.MM_returnValue = true;
}
function statusOut() {
self.status = '';
}
</script>
<td width="5" align="center" bgcolor="<%=rs("trcolor")%>" onMouseOut=statusOut(); onMouseOver="MM_displayStatusMsg('键连至 <%=rs("name")%>分类');return true;" onclick=window.open("type.asp?name=<%=rs("name")%>","_blank") style="cursor: hand "><font style="font-size:14px" color="<%=rs("titlecolor")%>"><%=rs("name")%></font></td>
<td>
<table width="100%" border="0" align="center" cellspacing="4">
<%sql1="select top 8 * from nyeee_data where type ='"&rs("name")&"' and mark='yes' and stop >= date() order by shouye desc,top desc,money desc,adid desc"
set rs1=server.createobject("adodb.recordset")
rs1.open sql1,connstr,1,1
if rs1.eof then
%>
<tr><td style="BORDER-RIGHT: <%=rs("tdcolor")%> 1px dotted; BORDER-TOP: <%=rs("tdcolor")%> 1px dotted; BORDER-LEFT: <%=rs("tdcolor")%> 1px dotted; BORDER-BOTTOM: <%=rs("tdcolor")%> 1px dotted" align="center" height=47><font color='#FF0000'>本分类中暂无信息!</font></td><tr>
<%
rs1.close
set rs1=nothing