%
function title_left(str,num)
if len(str)>num then
response.write left(str,num)&"..."
else
response.write str
end if
end function
%>
<%
if request("s_id")<>"" then
Set rs_e = Server.CreateObject("ADODB.Recordset")
sql="select * from xilie_wanju where id="&request("s_id")
rs_e.open sql,conn
smallclassname=rs_e("e_name")
rs_e.close
set rs_e=nothing
end if
if request("b_id")<>"" then
Set rs_x = Server.CreateObject("ADODB.Recordset")
sql="select * from bigclass_wanju where id="&request("b_id")
rs_x.open sql,conn
bigclassname=rs_x("e_bigclass")
rs_x.close
set rs_x=nothing
end if
%>
Wouldn't it be great if everything
were this easy? Ask us a question by email and we will write back
to you promptly! Simply fill out the form below, scroll down and click
"Send E-mail." Thanks!