请问如何将网页的标题直接调动为文章的标题
<!--#include file="bkconn.asp"-->
<%
function cutstr(str,length,addstr)
if len(str)<=length then
cutstr=str
else
cutstr=left(str,length)&addstr
end if
end function
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>标题</title>
<link href="css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #51291e;
}
body,td,th {
color: #AAAAAA;
}
-->
</style><script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
</head>
<body>
<table width="100" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="980" height="186">
<param name="movie" value="images/titles.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent" />
<embed src="images/titles.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="980" height="186"></embed>
</object></td>
</tr>
</table>
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="381B13">
<tr>
<td width="195" valign="top" bgcolor="421810"><!--#include file="left_1.asp"-->
<table width="195" height="741" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top" background="images/left_bgs.jpg"><table width="130" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#943410">
<tr>
<td width="128" height="26" align="right" bgcolor="#A54921" ONMOUSEOVER="this.style.backgroundColor='#C68EA5'" ONMOUSEOUT="this.style.backgroundColor=''"><a href="newstype.asp?productSort=2"><font color="#FFFFFF" class="UN3">企业动态</font></a> </td>
</tr>
</table>
<table width="60" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<table width="130" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#943410">
<tr>
<td width="128" height="26" align="right" bgcolor="#A54921" ONMOUSEOVER="this.style.backgroundColor='#C68EA5'" ONMOUSEOUT="this.style.backgroundColor=''"><a href="newstype.asp?productSort=3"><font color="#FFFFFF" class="UN3">行业新闻</font></a> </td>
</tr>
</table>
<table width="60" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<table width="130" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#943410">
<tr>
<td width="128" height="26" align="right" bgcolor="#A54921" ONMOUSEOVER="this.style.backgroundColor='#C68EA5'" ONMOUSEOUT="this.style.backgroundColor=''"><a href="newstype.asp?productSort=4"><font color="#FFFFFF" class="UN3">促销活动</font></a> </td>
</tr>
</table>
<table width="60" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<table width="130" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#943410">
<tr>
<td width="128" height="26" align="right" bgcolor="#A54921" ONMOUSEOVER="this.style.backgroundColor='#C68EA5'" ONMOUSEOUT="this.style.backgroundColor=''"><a href="newstype.asp?productSort=5"><font color="#FFFFFF" class="UN3">新品速递</font></a> </td>
</tr>
</table>
<table width="60" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="785" valign="top" bgcolor="391D12"><table width="60" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/main_3.jpg" width="785" height="20"></td>
</tr>
</table>
<table width="154" height="18" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
<table width="730" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td width="18"><img src="images/nei_dort.gif" width="9" height="15"></td>
<td width="508" height="28" class="M3">详细内容</td>
<td width="234" align="right" valign="bottom">>> <a href="javascript:history.back()">返 回</a></td>
</tr>
</table>
<table width="100" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/nei_line.jpg" width="785" height="5"></td>
</tr>
</table>
<table width="60" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<table width="94%" border="0" align="center" cellpadding="2" cellspacing="2">
<tr>
<td align="center" class="un3"><%
dim rs_shi,sql_shi
dim intID
intID=Request("id")
%>
<%
set rs_shi=server.createobject("adodb.recordset")
sql_shi="select * from news where id="&intID
rs_shi.open sql_shi,conn,1,1
%>
<table width="100%" border="0" cellspacing="2" cellpadding="4">
<tr>
<td height="36" align="center"><font color="#006633"><b><font size="3"><%=rs_shi("name")%></font></b></font></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="6" cellpadding="6" align="center">
<tr>
<td class=un3><%=rs_shi("message")%>
<%
sql="update news set hitNum=hitNum+1 where id="&Request("id")
conn.execute (sql)
%></td>
</tr>
</table>
<br>
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="14" height="10"><img src="images/space.gif" width="1" height="1"></td>
</tr>
</table></td>
</tr>
</table>
<p> </p></td>
</tr>
</table>
<!--#include file="foot.asp"-->
</body>
</html>
[解决办法]
sql_shi="select * from news where id="&intID
把这些代码写到<title>标题</title>的上面去,取出值先存储后在对应地方输出即可,这样就可以输出<title><%=title%></title>