回 帖 发 新 帖 刷新版面

主题:急!!!!!!!急!!!

<%@LANGUAGE="VBSCRIPT" CODEPAGE="950"%>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<link href="../css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table border="0" cellspacing="1" cellpadding="5" bgcolor="#DBC2B0"><form id="form1" action="upfile1.asp" method="post"name="form1" OnSubmit="return ab();"  enctype="multipart/form-data">
         <tr> 
            <td width="150" height="20" align="right" bgcolor="#FFFFFF" class="t">*名稱:</td>
            <td height="20" bgcolor="#FFFFFF">
            <input type="text" name="na" size="20"><input  type="hidden" name="status"/></td>
    </tr>
                    <tr>
            <td height="20" align="right" bgcolor="#FFFFFF" width="150">*年代:</td>
            <td height="20" bgcolor="#FFFFFF">
            <input type="text" name="time1" size="20">(<%=rs("shop_time")%>)</td>
          </tr>
..........
<%@LANGUAGE="VBSCRIPT" CODEPAGE="950"%>
<!--#include file="../conn/db.asp"-->
<!--#include file="upload.inc"-->
<html>
<head>
<title>文件上傳</title>

<link rel="stylesheet" href="t-001.css" type="text/css"> 
<meta http-equiv="Content-Type" content="text/html; charset=big5"></head>
<body background="../images/bg.gif">
<table width="100%" border=0 cellspacing=0 cellpadding=0 class=tb>
<tr><td class=tablebody2 valign=top height=40>
<%
Server.ScriptTimeOut=999999'猁岆斕腔蹦抭盓厥奻換腔恅璃掀誕湮ㄛ憩斛剕扢离﹝
'奻換源宒upload_type硉: 0ˊ拸郪璃ㄛ1ˊlyfuploadㄛ2ˊAspupload3.0ㄛ3ˊchinaaspupload


na=upload.form("na")

time1=upload.form("time1")


set rs=server.CreateObject("adodb.recordset")
rs.open"select * from shop",objconn,2,3
rs.addnew()
rs("shop_title")=na

rs("shop_time")=time1

rs.update
rs.close

  set rs=nothing

  set objconn=Nothing
end if
。。。。。。
为什么数据库里的shop_title是乱码但shop_time不是
我是用繁体输入的

回复列表 (共1个回复)

沙发

页面属性 编码重新导入big5,试试看,应该是这个问题。

我来回复

您尚未登录,请登录后再回复。点此登录或注册