´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
µî·ÏÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
> > Microsoft OLE DB Provider for ODBC Drivers error '80040e07' > > > > [Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting datetime from character string. > > > > /mytest/board_re/write_ok.asp, line 67 > > > > > > ¼Ò½º´Â ÀÌ°ÅÀÔ´Ï´Ù > > > > <% > > 'request°´Ã¼¸¦ ÅëÇØ ³Ñ¾î¿Â °ªµéÀ» º¯¼ö¿¡ ÀúÀåÇÑ´Ù. (ÃßõµÇ´Â ¹æ¹ýÀÌ´Ù) > > name = request("name") > > email = request("email") > > homepage = request("homepage") > > title = request("title") > > pwd = request("pwd") > > content = request("content") > > > > 'Äõ¸®¿¡ '°¡ µé¾î°¡¸é ¿¡·¯°¡ ³ª±â¿¡ ±×°ÍÀ» replace ó¸®ÇØÁØ´Ù. > > title = replace(title,"'","''") > > content = replace(content,"'","''") > > > > Set db = Server.CreateObject("ADODB.Connection") > > db.Open("DSN=sql;UID=sa;PWD=;") > > > > SQL = "Select Max(num) from Board_Re" > > > > Set rs = Server.CreateObject("ADODB.Recordset") > > rs.Open SQL, db > > > > If IsNULL(rs(0)) Then > > number = 1 > > else > > number = rs(0) + 1 > > End If > > > > '**************´äº¯Çü °Ô½ÃÆÇ¿¡¼ÀÇ Ãß°¡ºÎºÐ**********************' > > > > if request("idx") <> "" then 'Áï ´äº¯¾²±â¶ó¸é > > > > ref = Cint(request("ref")) > > re_step = CInt(Request("re_step")) > > re_level = CInt(Request("re_level")) > > > > SQLString = "UPDATE Board_Re SET re_step = re_step + 1 WHERE ref=" & ref & " AND re_step > " & re_step > > db.Execute(SQLString) > > > > re_step = re_step + 1 > > re_level = re_level + 1 > > > > else ' ÷ ±Û¾²±â¶ó¸é... > > > > ref = number > > re_step=0 > > re_level=0 > > > > end if > > '************************************************' > > > > SQL = "INSERT INTO Board_Re (name,email,homepage,title,content,num," > > SQL = SQL & "readnum,writeday,ref,re_level,re_step,pwd) VALUES " > > SQL = SQL & "('" & name & "'" > > SQL = SQL & ",'" & email & "'" > > SQL = SQL & ",'" & homepage & "'" > > SQL = SQL & ",'" & title & "'" > > SQL = SQL & ",'" & content & "'" > > SQL = SQL & "," & number > > SQL = SQL & ", 0 ,'" & now() &"'" > > SQL = SQL & "," & ref > > SQL = SQL & "," & re_level > > SQL = SQL & "," & re_step > > SQL = SQL & ",'" & pwd & "')" > > > > 'Response.Write sql > > > > db.Execute SQL (À̺κР¿¡¼¿¡·¯ÀÔ´Ï´Ù.67¹ø°) > > > > rs.Close > > db.close > > Set rs = Nothing > > Set db = Nothing > > > > Response.redirect "list.asp" > > %> > > > > > > > > > > > ----------------------------------------------------------- > > ¿¡·¯ ³»¿ëÀ¸·Î ºÁ¼´Â datetimeÇü¿¡ ¹®Á¦°¡ ÀÖ´À°Í °°³×¿ä.. > > writeday Ä®·³ÀÇ µ¥ÀÌŸÇüÀÌ datetimeÇüÀΰ¡¿ä? > > ¸¸¾à¿¡ ±×·¸´Ù¸é now()¶ó´Â ÇÔ¼ö¸¦ »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. > > getdate()¶ó´Â SQL ÇÔ¼ö¸¦ »ç¿ëÇÏ¼Å¾ß ÇÕ´Ï´Ù.... > (¾È ½áº»Áö ¿À·¡¶ó Àß ±â¾ïÀÎ... ^^;) > > ±×·³.... > > > -----------------------------------------------------------
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*