asp程序中显示动态标题
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>深圳市费思泰克科技有限公司</title>
打算调用新闻动态标题,新闻标题:<%=rs("n_title")%>
求助怎么实现动态标题 谢谢 <html>
<head>
<title> <%=rs("title")%></title>
</head>
<body>
...
</body>
</html>
其中 rs("title") 是从数据库取出的动态数据 看你用的什么程序,程序一般都自带的有标签说明,你把标签放对位置就行了! 你都写出来了,还用问吗:o
rs("title") 是从数据库取出的动态数据
sql="select * from news"
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sqlClass,conn,1,1
<title><%=rs("title")%></title>
是这样吧
页:
[1]
