📄 stars.asp
字号:
<HTML>
<BODY>
<%
Set cnnDB = Server.CreateObject("ADODB.Connection")
cnnDB.Open "MIDPDB"
delSQL = "DELETE * FROM stars"
cnnDB.Execute delSQL
for i=1 to 12
starSQL = "INSERT INTO stars(content,starname) values('" &_
Request("txt" & i) & "','" & Request("hidden" & i) & "')"
cnnDB.Execute starSQL
next
set records = Server.CreateObject("ADODB.Recordset")
records.Open "stars",cnnDB
do while not records.eof
Response.Write records("starname")
Response.Write " : "
Response.Write records("content")
Response.Write "<br/>"
records.MoveNext
loop
records.close
set records = nothing
cnnDB.Close
set cnnDB = nothing
%>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -