藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 應用編程


    

藍森林 http://www.lslnet.com 2006年8月25日 8:28

求教關於韓文版的搜索問題,在線等...

近幾做了一個韓文版的網站.由於他的編碼方式不同,許多地方都出了錯.
現在好不容易快做完了,在搜索的地方卡住了.

代碼如下,

<meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601">

檢測時:
<% dim hseach
hseach=trim(request.form("hseach"))
hseach=replace(hseach,"'","")
response.Write(hseach)
response.end
%>
會正確的顯示出輸入的內容.可是還是搜索不到
sql="select * from News where title='"&hseach&"' order by id desc "
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.Write("no file")
else
.....
end if%>
這樣的結果總是no file,我用的是中文版的Access數據庫,
請問是什麼原因呀.?
謝謝了.




Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com