国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

您的位置:首頁技術文章
文章詳情頁

聊天室php&mysql(五)

瀏覽:46日期:2024-01-05 11:38:22
第五個頁面name="changenick.php" <?;;;include "../signup/mysql.php"//echo $userid; if($action=="ok") { $sql="select * from chat_user_list where userid='$nick'"$result=mysql_query($sql) or die(mysql_error()); if(!$result) echo "該呢稱已被他人占用 請重新填寫"else;;;;;;;{ $sql="update chat_user_list set id='$nick',passwd='$passwd',sex='$sex' where userid='$userid'"$result=mysql_query($sql)or die(mysql_error()); $sql="update chat_user set id='$nick',passwd='$passwd',sex='$sex' where userid='$userid'"$result=mysql_query($sql)or die(mysql_error()); ;;;;;} if($result){ ;;;echo "<script language='JavaScript'> window.close() </script>";;} } ?> <html> <head> <title>:::FEIT聊天室:::</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <script language="JavaScript"> <!-- function MM_reloadPage(init) {;;//reloads the window if Nav4 resized ;;if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { ;;;;document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} ;;else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); // --> </script> </head> <body bgcolor="#ffffff" text="#000000"> <div id="Layer1" style="position:absolute; left:40px; top:28px; width:293px; height:202px; z-index:1; background-color: #6699FF; layer-background-color: #6699FF; border: 1px none #000000"></div> <div id="Layer2" style="position:absolute; left:144px; top:54px; width:126px; height:70px; z-index:2">;;;;<form name="form1" method="post" action="<?echo $PHP_SELF?>?action=ok"> ;;;;<p>;;;;;;;;<input type="text" name="nick" size="12" maxlength="20"> ;;;;</p> ;;;;<p>;;;;;;;;<input type="text" name="passwd" size="12" maxlength="20"> ;;;;;;<input type="hidden" name="userid" value="<?echo $userid ;?>"> ;;;;</p> ;;;;<p>;;;;;;;;<select name="sex"> <option value="帥哥">帥哥</option> <option value="妹妹">美眉</option> ;;;;;;</select> ;;;;</p> ;;;;<p> ;;;;;;<input type="submit" name="ok" value="更改" align="center"> ;;;;</p> ;;</form> </div> <div id="Layer3" style="position:absolute; left:72px; top:58px; width:72px; height:20px; z-index:3">用戶呢稱</div> <div id="Layer4" style="position:absolute; left:72px; top:99px; width:71px; height:23px; z-index:4">用戶密碼</div> <div id="Layer5" style="position:absolute; left:82px; top:139px; width:58px; height:20px; z-index:5">性別</div> </body> </html>
標簽: PHP
主站蜘蛛池模板: 大石桥市| 万山特区| 锦屏县| 白朗县| 班玛县| 分宜县| 二连浩特市| 嘉黎县| 乌兰察布市| 龙山县| 行唐县| 南靖县| 镇安县| 米脂县| 新绛县| 泰兴市| 漠河县| 磴口县| 游戏| 罗城| 察哈| 滁州市| 游戏| 阿合奇县| 韶关市| 岳普湖县| 灵璧县| 定南县| 宣城市| 平乐县| 宜丰县| 文成县| 克东县| 白城市| 涿州市| 崇左市| 河北省| 通江县| 雷州市| 平远县| 商洛市|