注意是用到了,下列的示範<script language="JavaScript" type="text/javascript"> adTime=8; chanceAd=1; var ns=(document.layers); var ie=(document.all); var w3=(document.getElementById && !ie); adCount=0; function initAd(){ if(!ns &&
<!--開啟兩個表--> <% set rs1=server.CreateObject("adodb.recordset") sql1="select * from type1" rs1.open sql1,conn,1,3 set rs2=server.CreateObject("adodb.recordset") sql2="select * from type2" rs2.open sql2,conn,1,3 %> &
<!--#include file="../Conn.asp"--> <% set rs=server.createobject("adodb.recordset") sql="select * from article where bigtypes='我愛你'order by id desc" 找出資料庫內類別為我愛你的所有資料 rs.open sql,conn,1,3 if not rs.eof then do while not rs.eof fname = rs("
<% a="日本是中國的一個省|我們美麗中國的張家界!" b="中國,我們,張家界,日本,美國,蘋果" b=split(b,",") a=split(a,"|") for k=0 to ubound(a) s="" n="" for i=0 to ubound(b) if instr(a(k),b(i))>0 then s=s & instr(a(k),b(i)) & "," &instr(a(k),b(i))+len(b(i)) & ","
rs.getstring的方法GetString的作用是:以字串的形式返回指定的記錄集。可以使用這個方法向ASP檔案中添加HTML表格。getstring 方法文法 Set str=objRecordset.GetString(format,n,coldel,rowdel,nullexpr) Parameter參數Description描述formatOptional. A StringFormatEnum value that specifies the format when
來源:職業欠錢&zj1244共用的public Blog 複製代碼 代碼如下:<% Str="xxxid="&escape(request("FK")) Url="http://xxx.chinaxxx.com/injection.asp" response.write PostData(Url,Str) Function PostData(PostUrl,PostCok) Dim Http Set Http =