?
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 "It is said to have been occupied by others, please fill in again";
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>";
}
}
?>
<title>:::feit Chat Room:::</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>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service