|
|
|
|
²ÀÁö / 2001-08-23 / ¿ÀÈÄ 4:04:37 / 168.126.91.65
Á¶È¸¼ö : 110
|
[Áú¹®] À̾ß...Áú¹®... ¤Ñ¤Ñ¤» ÅÂŬ... ¤Ñ¤Ñ;; |
> <!--#include file="../include/ConnectString.asp"-->
> <%
> F_ID2 = Int(request("F_Stc_ID2"))
> F_Passwd1 = Trim(request("F_Stc_Passwd1")
>
> Set db = Server.CreateObject("ADODB.Connection")
> db.Open strConn
>
> Set rs = Server.CreateObject("ADODB.RecordSet")
>
> sql1 = "select * from MBMPS10T"
> sql1 = sql1 & " where IDNO='" & F_ID2 & "'"
>
> rs.Open sql1,db
>
> if (rs.EOF or rs.BOF) then
>
> SQL2 = "INSERT INTO MBMPS10T (ITEMNO,SPASSWORD) VALUES "
> SQL2 = SQL2 & "('" & F_ID2 & "'"
> SQL2 = SQL2 & ",'" & F_Passwd1 & "')"
>
> db.Execute(SQL2)
>
> else
>
> SQL2 = "UPDATE MBMPS10T SET SPASSWORD = '"& F_Passwd1 &"'"
> SQL2 = SQL2 & " WHERE IDNO = '"& F_ID2 &"'"
>
> db.Execute(SQL2)
> %>
>
> ³»¿ë...
>
> <%
> end if
>
> rs.Close
> db.Close
> Set rs = Nothing
> Set db = Nothing
> %>
>
> ºÐ¸íÈ÷..¾îµð Ʋ·È´Âµ¥... ¸øã°Ú¾î¿ä...(__)
>
-----------------------------------------------------------
4~5LineÁ¤µµÀÇ
F_Passwd1 = Trim(request("F_Stc_Passwd1")
¿¡¼ Á¦ÀÏ ¸¶Áö¸· °ýÈ£°¡ ºüÁ³³×¿ä..
F_Passwd1 = Trim(request("F_Stc_Passwd1"))
|
|
|
|