代码解释?
这是调用一个editor 的代码:<%dim rs1
set rs1=server.CreateObject("adodb.recordset")
rs1.open "select * from yuzhiguo_products where id="&id,conn,1,1
anclassid=rs1("anclassid")
nclassid=rs1("nclassid")
%>
具体解释下面这一段的作用。
<%
Dim sBasePath
sBasePath = Request.ServerVariables("PATH_INFO")
sBasePath = Left( sBasePath, InStrRev( sBasePath, "/_samples" ) )
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = sBasePath
oFCKeditor.Value = rs1("jianjie_intro")
oFCKeditor.Create "jianjie_intro"
%>