051432 l htmlhead l Script LanguageJAVAScript l function
- Slides: 15
051432 한라산
소스설명 l <html><head> l <Script Language="JAVAScript"> l function check() { l l l l var blank = 0 ; if (form 1. id. value == "") blank = 1 ; if (form 1. password. value == "") blank = 1 ; if (blank ==1) { alert("빈란이 있습니다. 채워주세요. ") ; return (false) } else { return (true) ; } } ▶아이디와 패스워드란에 아무것도 써 있지 않으면 메시지 창을 띄움
l <% a=Request. form("id") l set o. Rds = Server. Create. Object("ADODB. recordset") l l l o. Rds. Open "SELECT * FROM info WHERE id ='" & a & "'", "MB", 1, 2, 1 l l 등록된 회원이 없습니다. ▶DB에 저장된 ID를 검색하여 없으면 등록 회원이 없음을 표시 l <% Else If o. Rds. Record. Count = 0 then %> l o. Rds. Move. First l if Request. form("password") = o. Rds("password") then %> l l <%= o. Rds("id")%>님 환영합니다. <BR> 즐거운쇼핑되세요 ^^* <a href="ID프레임. htm">로그아웃<BR></a>
l <% l set o. Conn = Server. Create. Object("ADODB. Connection") l l o. Conn. Open "good" l l l SQLtext = "INSERT INTO good(good, gname, address 2, call 3, email 2, much, sendinfo)" ▶상품 DB에 사용자가 입력한 배송정보를 저장함 SQLtext = SQLtext & " VALUES('" & Request("good") & "', " l SQLtext = SQLtext & "'" & Request("gname") & "', " l l SQLtext = SQLtext & "'" & Request("address") & "', " SQLtext = SQLtext & "'" & Request("address 2") & "', " l %>
l l l l SQLtext SQLtext - = = = = SQLtext SQLtext & & & & "'" "'" & & & & Request("call") & "', " Request("call 2") & "', " Request("call 3") & "', " Request("email 2") & "', " Request("much") & "', " Request("sendinfo") & "')" l l o. Conn. Execute(SQLtext) l Response. Redirect("good. htm") o. Conn. close set o. Conn = nothing
- Why do we study thermodynamics
- Rational functions parent function
- Rational parent function transformations
- Pressure is state function or path function
- Reciprocal parent function table
- Linear and nonlinear functions
- Exponential function parent function
- Pressure is state function or path function
- Function vs not a function
- Exponential parent function even or odd
- Absolute value function to piecewise function
- Identify polynomial functions
- Rational function examples
- How a predicate function become a propositional function?
- Square cubic quadratic
- Rosen function