<%
case "go"
StrSql = "Select * from members where m_name='" & ChkString(Request.Form("name"))
StrSql = StrSql & "' and m_Password ='" & ChkString(Request.Form("Password")) & "'"
set rs = my_conn.Execute(StrSql)
if rs.bof and rs.eof then
%>
UserName ou
Password inválida
Use o botão "Back" ou "Retroceder" do seu "Browser"
para tentar de novo
<%
Response.End
else
%>
<%
end if
case "doit"
StrSQl = "Update Members Set M_Email = '" & chkstring(Request.Form("email")) & "', "
StrSQl = StrSQl & "M_Country ='" & ChkString(Request.Form("country")) & "', "
StrSQl = StrSQl & "M_Sig ='" & ChkString(Request.Form("sig")) & "', "
StrSQl = StrSQl & "M_ICQ ='" & ChkString(Request.Form("ICQ")) & "', "
StrSQl = StrSQl & "M_Homepage ='" & ChkString(Request.Form("homepage")) & "' where M_Name = '"
StrSQl = StrSQl & ChkString(Request.Form("name")) & "' and M_Password = '" & ChkString(Request.Form("Password-d")) & "'"
my_conn.Execute(strSql)
%>
Dados
actualizados.
Voltar
ao Fórum
<%
end select
on error resume next
rs.close
my_conn.Close
set my_conn = nothing
set rs=nothing
%>