<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>วิทยาลัยพยาบาลบรมราชชนนี อุดรธานี </title>
</head>

<body>
<?

$cus_user
=$_POST[textuser];
$cus_pass=$_POST[txtPassword];
$cus_name=$_POST[txtName];





    
mysql_connect("localhost","root","@14012518");
    
mysql_select_db("bcnu_login");

$sql="INSERT INTO member(Username,password,name)VALUES('$cus_user','$cus_pass','$cus_name')";
mysql_query($sql);
echo
"บันทึกข้อมูลลงฐานข้อมูลแล้ว";
echo 
"<br> Go to <a href='admin_page.php'>Admin page</a>";
mysql_close();

?>
</body>
</html>