ASP网页的会员嵌入?

来源:百度知道 编辑:UC知道 时间:2024/05/06 01:55:08
谁教我下ASP网页的会员嵌入?或者给些资料吧

http://www.heima.com/,,肯定有你想要的想学的

<%

set rs=conn.execute("select * from customer where userid='"&userid&"'")
if not rs.eof then
%>
<script language="javascript">
alert("对不起,已存在此用户名,请重新注册一个。");
history.go(-1);
</script>
<%
else
……
%>

可以用这段代码检测有无重名的,重名的就会弹出一个对话框来提示。前面连接数据库的语句你要自己添加。